-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
After Http2StreamSinkChannel.awaitWritable invokes super.awaitWritable():
It just checks for condition, without verifying if we should wait for the next flow control window update as long as we stay inside the await writable timeout before while waiting:
As a result, we could have an IOException complaining of a flow control that has not been updated sooner than the client can actually send a flow control update.
Notice that the super class awaitWritable just verifies if the channel is ready for flushed and not closed while waiting:
Naturally, this method is not aware of the flow control mechanism in HTTP2 and cannot verify for that condition. That's why it is important that the subclass method waits on the remaining time inside the timeout period before throwing an exception.
- is incorporated by
-
WFCORE-6057 Upgrade Undertow to 2.3.0.Final (CVE-2022-2764)
- Closed
-
WFCORE-5946 Upgrade Undertow to 2.2.18.Final
- Closed
- is related to
-
UNDERTOW-2039 Convert AbstractFramedChannel.AWAIT_WRITABLE_TIMEOUT to nanoseconds
- Pull Request Sent