apple / swift-nio-http2

HTTP/2 support for SwiftNIO
https://swiftpackageindex.com/apple/swift-nio-http2/main/documentation/niohttp2
Apache License 2.0
462 stars 82 forks source link

fix Bench1Conn10kRequests crash #434

Closed rnro closed 8 months ago

rnro commented 8 months ago

Motivation:

Bench1Conn10kRequests performance tester incorrectly used a NIOLoopBound to access the HTTP2StreamMultiplexer to create streams.

Modifications:

Access the multiplexer by safely obtaining a reference to the handler.

Result: