apple / swift-nio-http2

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

public HTTP2StreamMultiplexer.SendableView #433

Closed rnro closed 10 months ago

rnro commented 10 months ago

Motivation:

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

Modifications:

Make HTTP2StreamMultiplexer.SendableView public and use it to pass the multiplexer into the event loop execute.

Result:

rnro commented 10 months ago

https://github.com/apple/swift-nio-http2/pull/434