mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1213060 (part 1) - Properly handle discarding padding in Http2Session::OnWriteSegment. r=mcmanus
This commit is contained in:
parent
9bcf314974
commit
fd10e5ac79
@ -3193,7 +3193,8 @@ Http2Session::OnWriteSegment(char *buf,
|
||||
}
|
||||
|
||||
if (mDownstreamState == NOT_USING_NETWORK ||
|
||||
mDownstreamState == BUFFERING_FRAME_HEADER) {
|
||||
mDownstreamState == BUFFERING_FRAME_HEADER ||
|
||||
mDownstreamState == DISCARDING_DATA_FRAME_PADDING) {
|
||||
return NS_BASE_STREAM_WOULD_BLOCK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user