apple / swift-nio-http2

HTTP/2 support for SwiftNIO

Home Page:https://swiftpackageindex.com/apple/swift-nio-http2/main/documentation/niohttp2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Data frames with END_STREAM that terminate a HTTP/2 stream are not checked for window resizing by HTTP2StreamMultiplexer

Lukasa opened this issue · comments

When we receive a DATA frame with END_STREAM set that terminates a stream, we don't emit the correct events to cause the HTTP2StreamMultiplexer to emit WINDOW_UPDATE frames for the connection. In the worst possible cases this could actually lead to deadlock if we allow the connection window to go to zero here.