Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(363)

Issue 8591037: Implement Drain() on HttpPipelinedStream. (Closed)

Created:
9 years, 1 month ago by James Simonsen
Modified:
9 years ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Implement Drain() on HttpPipelinedStream. BUG=102385 TEST=net_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112289

Patch Set 1 #

Total comments: 10

Patch Set 2 : More tests #

Total comments: 8

Patch Set 3 : Fix nits #

Total comments: 2

Patch Set 4 : Skip on unusable #

Unified diffs Side-by-side diffs Delta from patch set Stats (+246 lines, -12 lines) Patch
M net/http/http_pipelined_connection_impl.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M net/http/http_pipelined_connection_impl.cc View 1 2 3 2 chunks +18 lines, -0 lines 0 comments Download
M net/http/http_pipelined_connection_impl_unittest.cc View 1 2 1 chunk +125 lines, -0 lines 0 comments Download
M net/http/http_pipelined_network_transaction_unittest.cc View 1 1 chunk +43 lines, -0 lines 0 comments Download
M net/http/http_pipelined_stream.cc View 1 2 1 chunk +2 lines, -5 lines 0 comments Download
M net/http/http_response_body_drainer.h View 2 chunks +4 lines, -0 lines 0 comments Download
M net/http/http_response_body_drainer.cc View 1 2 2 chunks +20 lines, -2 lines 0 comments Download
M net/http/http_response_body_drainer_unittest.cc View 1 1 chunk +18 lines, -0 lines 0 comments Download
M net/http/http_response_headers.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M net/http/http_response_headers.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M net/http/http_stream_parser.cc View 1 1 chunk +2 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
James Simonsen
9 years, 1 month ago (2011-11-17 23:19:51 UTC) #1
mmenke
I suggest you take a look at the "Important" comment before the others. http://codereview.chromium.org/8591037/diff/1/net/http/http_pipelined_connection_impl_unittest.cc File ...
9 years, 1 month ago (2011-11-18 15:45:38 UTC) #2
willchan no longer on Chromium
http://codereview.chromium.org/8591037/diff/1/net/http/http_pipelined_stream.cc File net/http/http_pipelined_stream.cc (right): http://codereview.chromium.org/8591037/diff/1/net/http/http_pipelined_stream.cc#newcode124 net/http/http_pipelined_stream.cc:124: void HttpPipelinedStream::Drain(HttpNetworkSession* session) { I sort of suspect we ...
9 years, 1 month ago (2011-11-20 18:09:21 UTC) #3
James Simonsen
http://codereview.chromium.org/8591037/diff/1/net/http/http_pipelined_connection_impl_unittest.cc File net/http/http_pipelined_connection_impl_unittest.cc (right): http://codereview.chromium.org/8591037/diff/1/net/http/http_pipelined_connection_impl_unittest.cc#newcode1089 net/http/http_pipelined_connection_impl_unittest.cc:1089: TEST_F(HttpPipelinedConnectionImplTest, RecoverFromDrainOnRedirect) { On 2011/11/18 15:45:38, Matt Menke wrote: ...
9 years, 1 month ago (2011-11-22 01:24:19 UTC) #4
mmenke
LGTM, modulo comments. http://codereview.chromium.org/8591037/diff/6001/net/http/http_pipelined_connection_impl_unittest.cc File net/http/http_pipelined_connection_impl_unittest.cc (right): http://codereview.chromium.org/8591037/diff/6001/net/http/http_pipelined_connection_impl_unittest.cc#newcode1192 net/http/http_pipelined_connection_impl_unittest.cc:1192: "Content-Length: 8\r\n\r\n"), Remove "Content-Length", as it's ...
9 years ago (2011-11-28 18:39:10 UTC) #5
James Simonsen
http://codereview.chromium.org/8591037/diff/6001/net/http/http_pipelined_connection_impl_unittest.cc File net/http/http_pipelined_connection_impl_unittest.cc (right): http://codereview.chromium.org/8591037/diff/6001/net/http/http_pipelined_connection_impl_unittest.cc#newcode1192 net/http/http_pipelined_connection_impl_unittest.cc:1192: "Content-Length: 8\r\n\r\n"), On 2011/11/28 18:39:10, Matt Menke wrote: > ...
9 years ago (2011-11-29 23:57:28 UTC) #6
mmenke
http://codereview.chromium.org/8591037/diff/14001/net/http/http_pipelined_connection_impl.cc File net/http/http_pipelined_connection_impl.cc (right): http://codereview.chromium.org/8591037/diff/14001/net/http/http_pipelined_connection_impl.cc#newcode614 net/http/http_pipelined_connection_impl.cc:614: if (!stream->CanFindEndOfResponse() || headers->IsChunkEncoded()) { One more comment. Feel ...
9 years ago (2011-11-30 00:52:59 UTC) #7
James Simonsen
http://codereview.chromium.org/8591037/diff/14001/net/http/http_pipelined_connection_impl.cc File net/http/http_pipelined_connection_impl.cc (right): http://codereview.chromium.org/8591037/diff/14001/net/http/http_pipelined_connection_impl.cc#newcode614 net/http/http_pipelined_connection_impl.cc:614: if (!stream->CanFindEndOfResponse() || headers->IsChunkEncoded()) { On 2011/11/30 00:52:59, Matt ...
9 years ago (2011-11-30 19:39:14 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonjam@chromium.org/8591037/17001
9 years ago (2011-11-30 19:39:24 UTC) #9
commit-bot: I haz the power
9 years ago (2011-11-30 21:20:01 UTC) #10
Change committed as 112289

Powered by Google App Engine
This is Rietveld 408576698