mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-11 14:28:42 +00:00
Bug 1213060 (part 1) - Properly handle discarding padding in Http2Session::OnWriteSegment. r=mcmanus
--HG-- extra : rebase_source : 5351820cd1ac06403b29ee35b02773d98fe233f2
This commit is contained in:
parent
2e351e563c
commit
728aabcd9c
@ -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…
x
Reference in New Issue
Block a user