Closed ser-0xff closed 1 month ago
Fix race in TCPThroughputBenchmark
Fix for https://github.com/apple/swift-nio/issues/2649
Start test after server handler got channelActive to avoid race. I was not able to reproduce the crash locally but obviously there is a problem and the PR should fix it.
channelActive
Performance test will not crash.
Fix race in TCPThroughputBenchmark
Motivation:
Fix for https://github.com/apple/swift-nio/issues/2649
Modifications:
Start test after server handler got
channelActive
to avoid race. I was not able to reproduce the crash locally but obviously there is a problem and the PR should fix it.Result:
Performance test will not crash.