Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http2: prioritize RST_STREAM frames in priority write scheduler
The http2 priority write scheduler should not queue RST_STREAM frames with the DATA frames, and instead treat them as control frames. There can be deadlock situations if data frames block the queue, because if the sender wants to close the stream it sends an RST frame, but if the client is not draining the queue, the RST frame is stuck and the sender is not able to finish. Fixes golang/go#49741 Signed-off-by: Antonio Ojea <[email protected]> Change-Id: Ie4462603380039f7aba8f701fe810d1d84376efa Reviewed-on: https://go-review.googlesource.com/c/net/+/382014 Reviewed-by: Ian Lance Taylor <[email protected]> Reviewed-by: Damien Neil <[email protected]> Run-TryBot: Dave Cheney <[email protected]> TryBot-Result: Gopher Robot <[email protected]>
- Loading branch information