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

Issue 9302024: Add client for background testing of HTTP pipelining. (Closed)

Created:
8 years, 10 months ago by James Simonsen
Modified:
8 years, 10 months ago
CC:
chromium-reviews, pam+watch_chromium.org, cbentzel+watch_chromium.org, darin-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add client for background testing of HTTP pipelining. Note this isn't hooked up, so it won't affect users yet. Once the servers are up, it'll be hooked up to a field test, much like the UDP echo test. Also missing is a force-pipelining option for requests. I'll add that in a separate CL. BUG=110794 TEST=unit_tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=121572 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=121766

Patch Set 1 #

Total comments: 32

Patch Set 2 : Use enum for test cases #

Total comments: 2

Patch Set 3 : Check HTTP version #

Patch Set 4 : Added comment #

Patch Set 5 : Move stats code back where it belongs #

Total comments: 10

Patch Set 6 : Fixed nits #

Patch Set 7 : Use our own StatisticsRecorder #

Total comments: 2

Patch Set 8 : Fix memory leak in unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+778 lines, -4 lines) Patch
A chrome/browser/net/http_pipelining_compatibility_client.h View 1 2 3 4 5 1 chunk +125 lines, -0 lines 0 comments Download
A chrome/browser/net/http_pipelining_compatibility_client.cc View 1 2 3 1 chunk +188 lines, -0 lines 0 comments Download
A chrome/browser/net/http_pipelining_compatibility_client_unittest.cc View 1 2 3 4 5 6 7 1 chunk +442 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/http_pipelining/alphabet.txt View 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/http_pipelining/alphabet.txt.mock-http-headers View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M net/base/net_error_list.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M net/tools/testserver/testserver.py View 1 2 5 chunks +15 lines, -1 line 0 comments Download

Messages

Total messages: 20 (0 generated)
James Simonsen
8 years, 10 months ago (2012-01-31 18:52:40 UTC) #1
mmenke
One unfortunate thing about our network stack is that we can't make it probable that ...
8 years, 10 months ago (2012-02-01 19:08:06 UTC) #2
James Simonsen
http://codereview.chromium.org/9302024/diff/1/chrome/browser/net/http_pipelining_compatibility_client.cc File chrome/browser/net/http_pipelining_compatibility_client.cc (right): http://codereview.chromium.org/9302024/diff/1/chrome/browser/net/http_pipelining_compatibility_client.cc#newcode66 chrome/browser/net/http_pipelining_compatibility_client.cc:66: : request_id_(request_id), On 2012/02/01 19:08:07, Matt Menke wrote: > ...
8 years, 10 months ago (2012-02-07 00:01:37 UTC) #3
mmenke
What happens if a proxy sends us HTTP/1.1 responses instead of HTTP/1.0? http://codereview.chromium.org/9302024/diff/1/chrome/browser/net/http_pipelining_compatibility_client.cc File chrome/browser/net/http_pipelining_compatibility_client.cc ...
8 years, 10 months ago (2012-02-07 15:17:39 UTC) #4
mmenke
On 2012/02/07 15:17:39, Matt Menke wrote: > What happens if a proxy sends us HTTP/1.1 ...
8 years, 10 months ago (2012-02-07 16:24:38 UTC) #5
James Simonsen
Good idea. I added the HTTP/1.0 check too. http://codereview.chromium.org/9302024/diff/1/chrome/browser/net/http_pipelining_compatibility_client.cc File chrome/browser/net/http_pipelining_compatibility_client.cc (right): http://codereview.chromium.org/9302024/diff/1/chrome/browser/net/http_pipelining_compatibility_client.cc#newcode155 chrome/browser/net/http_pipelining_compatibility_client.cc:155: if ...
8 years, 10 months ago (2012-02-07 22:40:40 UTC) #6
James Simonsen
[+Paweł] Paweł, you were the most recent OWNER to touch chrome_test_suite.h. Can you review that?
8 years, 10 months ago (2012-02-07 22:41:08 UTC) #7
mmenke
LGTM http://codereview.chromium.org/9302024/diff/19001/chrome/browser/net/http_pipelining_compatibility_client.h File chrome/browser/net/http_pipelining_compatibility_client.h (right): http://codereview.chromium.org/9302024/diff/19001/chrome/browser/net/http_pipelining_compatibility_client.h#newcode19 chrome/browser/net/http_pipelining_compatibility_client.h:19: // Class for performing a background test of ...
8 years, 10 months ago (2012-02-08 15:50:50 UTC) #8
willchan no longer on Chromium
I'm curious how the pipelining will get forced. I look forward to that later changelist. ...
8 years, 10 months ago (2012-02-08 15:58:19 UTC) #9
mmenke1
And another quick nit http://codereview.chromium.org/9302024/diff/19001/chrome/browser/net/http_pipelining_compatibility_client_unittest.cc File chrome/browser/net/http_pipelining_compatibility_client_unittest.cc (right): http://codereview.chromium.org/9302024/diff/19001/chrome/browser/net/http_pipelining_compatibility_client_unittest.cc#newcode54 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc:54: virtual void SetUp() { nit: ...
8 years, 10 months ago (2012-02-08 16:07:46 UTC) #10
James Simonsen
I had to tweak the test again to make that StatisticsRecorder work. There are some ...
8 years, 10 months ago (2012-02-10 01:28:47 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonjam@chromium.org/9302024/26001
8 years, 10 months ago (2012-02-10 22:13:11 UTC) #12
commit-bot: I haz the power
Change committed as 121572
8 years, 10 months ago (2012-02-11 00:02:45 UTC) #13
szym
While I'm not sure what caused the leak http://crbug.com/113769 , I've already been staring at ...
8 years, 10 months ago (2012-02-11 02:01:17 UTC) #14
mmenke
http://codereview.chromium.org/9302024/diff/26001/chrome/browser/net/http_pipelining_compatibility_client_unittest.cc File chrome/browser/net/http_pipelining_compatibility_client_unittest.cc (right): http://codereview.chromium.org/9302024/diff/26001/chrome/browser/net/http_pipelining_compatibility_client_unittest.cc#newcode72 chrome/browser/net/http_pipelining_compatibility_client_unittest.cc:72: message_loop_.RunAllPending(); On 2012/02/11 02:01:17, szym wrote: > Is |message_loop_| ...
8 years, 10 months ago (2012-02-11 02:06:31 UTC) #15
James Simonsen
On 2012/02/11 02:06:31, Matt Menke wrote: > http://codereview.chromium.org/9302024/diff/26001/chrome/browser/net/http_pipelining_compatibility_client_unittest.cc > File chrome/browser/net/http_pipelining_compatibility_client_unittest.cc > (right): > > ...
8 years, 10 months ago (2012-02-11 02:48:57 UTC) #16
mmenke
On 2012/02/11 02:48:57, James Simonsen wrote: > On 2012/02/11 02:06:31, Matt Menke wrote: > > ...
8 years, 10 months ago (2012-02-11 02:58:53 UTC) #17
James Simonsen
On 2012/02/11 02:58:53, Matt Menke wrote: > On 2012/02/11 02:48:57, James Simonsen wrote: > > ...
8 years, 10 months ago (2012-02-13 22:17:47 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonjam@chromium.org/9302024/35002
8 years, 10 months ago (2012-02-13 22:18:23 UTC) #19
commit-bot: I haz the power
8 years, 10 months ago (2012-02-13 23:56:17 UTC) #20
Change committed as 121766

Powered by Google App Engine
This is Rietveld 408576698