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

Issue 11795003: Http Pipelinining: Make unit tests more friendly to greedily reading from sockets. (Closed)

Created:
7 years, 11 months ago by mmenke
Modified:
7 years, 11 months ago
Reviewers:
James Simonsen
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Http Pipelinining: Make unit tests more friendly to greedily reading from sockets. In particular, prevent the parser from reading beyond all ReadData in HttpPipelinedConnectionImplTest.ConnectionSuddenlyClosedAfterResponse, and fix a test that was trying to reuse a connection when an earlier stream failed on it. BUG=166915 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175423

Patch Set 1 : #

Total comments: 3

Patch Set 2 : Oops - uncomment out close #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -6 lines) Patch
M net/http/http_pipelined_connection_impl_unittest.cc View 1 2 chunks +13 lines, -6 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
mmenke
https://codereview.chromium.org/11795003/diff/6001/net/http/http_pipelined_connection_impl_unittest.cc File net/http/http_pipelined_connection_impl_unittest.cc (right): https://codereview.chromium.org/11795003/diff/6001/net/http/http_pipelined_connection_impl_unittest.cc#newcode578 net/http/http_pipelined_connection_impl_unittest.cc:578: // ERR_SOCKET_NOT_CONNECTED. Greedily reading data would run right off ...
7 years, 11 months ago (2013-01-07 21:57:15 UTC) #1
James Simonsen
lgtm https://codereview.chromium.org/11795003/diff/6001/net/http/http_pipelined_connection_impl_unittest.cc File net/http/http_pipelined_connection_impl_unittest.cc (right): https://codereview.chromium.org/11795003/diff/6001/net/http/http_pipelined_connection_impl_unittest.cc#newcode1033 net/http/http_pipelined_connection_impl_unittest.cc:1033: data_->RunFor(1); On 2013/01/07 21:57:15, Matt Menke wrote: > ...
7 years, 11 months ago (2013-01-07 22:02:24 UTC) #2
mmenke
On 2013/01/07 22:02:24, James Simonsen wrote: > lgtm > > https://codereview.chromium.org/11795003/diff/6001/net/http/http_pipelined_connection_impl_unittest.cc > File net/http/http_pipelined_connection_impl_unittest.cc (right): ...
7 years, 11 months ago (2013-01-07 22:05:47 UTC) #3
mmenke
On 2013/01/07 22:05:47, Matt Menke wrote: > On 2013/01/07 22:02:24, James Simonsen wrote: > > ...
7 years, 11 months ago (2013-01-07 22:13:26 UTC) #4
James Simonsen
On 2013/01/07 22:13:26, Matt Menke wrote: > On 2013/01/07 22:05:47, Matt Menke wrote: > > ...
7 years, 11 months ago (2013-01-07 22:40:23 UTC) #5
mmenke
On 2013/01/07 22:40:23, James Simonsen wrote: > On 2013/01/07 22:13:26, Matt Menke wrote: > > ...
7 years, 11 months ago (2013-01-07 22:56:31 UTC) #6
commit-bot: I haz the power
7 years, 11 months ago (2013-01-07 22:58:23 UTC) #7

Powered by Google App Engine
This is Rietveld 408576698