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

Window updates can still cause BadStreamStateTransition

Lukasa opened this issue · comments

We tried to fix this with #233, but a case was missed. If we receive a number of DATA frames in one channelRead cycle, one of which would trigger a window update frame but another, later one of which would set END_STREAM, we will incorrectly still emit window update frames because we won't spot that END_STREAM in time. We need to move that check.

Fixed by #237.