Commit Graph

8 Commits

Author SHA1 Message Date
Markus Pilman 03d913a1de Flow compiling 2022-06-27 17:05:55 -06:00
Junhyun Shim ed91ab5d54
Work around flow trace's data race bug (#7237)
* Work around flow trace's data race bug

BaseTraceEvent::setNetworkThread() and flushTraceFile[()|Void()]
has a long-standing race condition for traceEventThrottlerCache global
when flushTraceFileVoid() is not called from the network thread.

This race dates back to 2017 (commit hash 80e5fecfe2),
so before the race itself is fixed, work around the problem.

* Remove call to flushTraceFileVoid() from MkCertCli

* Apply clang format
2022-06-14 12:09:34 +02:00
Junhyun Shim 02b2f97e99
mTLS test helpers (#7218)
* Add TLS option to (local_cluster|tmp_cluster).py

* Add TLS-enabled C API test
2022-05-23 12:47:51 +02:00
Junhyun Shim fe55605a25 Fix GCC-specific error 2022-05-11 16:52:00 +02:00
Junhyun Shim 8c180e3e46 Add option to print cert chain or arguments
Also do code cleanup
2022-05-11 15:56:17 +02:00
Junhyun Shim d3b966fcfd Refine trace and console message 2022-05-11 13:56:44 +02:00
Junhyun Shim 8789232df4 Add ScopeExit to flow and remove scattered impls 2022-05-11 11:51:11 +02:00
Junhyun Shim e5de8ba260 Add MkCert command line tool 2022-05-11 11:15:03 +02:00