DescriptionSPDY - chunked upload - cleanup of spdy_http_stream to read the data
in SendBody instead of SendBodyComplete.
SpdyHttpStream inherits from ChunkCallback (SpdyStream doesn't inherit
from ChunkCallback). OnChunkAvailable is handled by SpdyHttpStream.
In unit tests, added new tests (similar to http_stream_parser_unittest
for chunked uploads), to delay sending of chunked data.
Also added sending of window_update during chunk uploads. Verified
that these tests fail with the old code and run ok with the new changes.
This change also fixed chunked uploads hanging (or stalling) for
speech recgonition.
Many many thanks to sleevi for suggesting the way to clean up
the SpdyHttpStream's SendBody and SendBodyComplete code.
R=rch@chromium.org, rsleevi@chromium.org
TEST=network unit tests
BUG=113107, 136044
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146255
Patch Set 1 #Patch Set 2 : #Patch Set 3 : #
Total comments: 21
Patch Set 4 : #Patch Set 5 : #Patch Set 6 : #
Total comments: 14
Patch Set 7 : #
Total comments: 15
Patch Set 8 : #Patch Set 9 : #
Total comments: 6
Patch Set 10 : #
Total comments: 2
Patch Set 11 : #Patch Set 12 : #Patch Set 13 : #
Total comments: 14
Patch Set 14 : #Patch Set 15 : #Patch Set 16 : #Patch Set 17 : #Patch Set 18 : #Patch Set 19 : #Patch Set 20 : #Patch Set 21 : #Patch Set 22 : #Patch Set 23 : #
Total comments: 20
Patch Set 24 : #
Total comments: 6
Patch Set 25 : #
Total comments: 15
Patch Set 26 : #Patch Set 27 : #
Total comments: 2
Patch Set 28 : #Patch Set 29 : #Messages
Total messages: 26 (0 generated)
|