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

Issue 403393003: HTTP retry support.

Created:
6 years, 5 months ago by jonnyr
Modified:
5 years, 8 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, Randy Smith (Not in Mondays)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

HTTP retry support. If you are connected to the Internet through a connection with a high error rate you can often experience TCP connections being reset. At times completing a page load can be a challenge and you have to reload a page multiple times to get the page loaded completely. This CL will attempt to retry GET requests up to five times. Content is hashed and hash verified on retry. Byte range requests are supported, but disabled for now. BUG=397474

Patch Set 1 #

Total comments: 27

Patch Set 2 : Fixed according to comments. #

Total comments: 45

Patch Set 3 : Fixes according to review. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+789 lines, -13 lines) Patch
M net/base/net_error_list.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M net/http/http_network_transaction.h View 1 2 3 chunks +25 lines, -0 lines 0 comments Download
M net/http/http_network_transaction.cc View 1 2 12 chunks +220 lines, -13 lines 2 comments Download
M net/http/http_network_transaction_unittest.cc View 1 2 3 chunks +538 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (1 generated)
jonnyr
@reviewer: does this patch look OK to you?
6 years, 5 months ago (2014-07-22 07:45:14 UTC) #1
mmenke
All of the header logic makes me very nervous. https://codereview.chromium.org/403393003/diff/1/net/base/net_error_list.h File net/base/net_error_list.h (right): https://codereview.chromium.org/403393003/diff/1/net/base/net_error_list.h#newcode621 net/base/net_error_list.h:621: ...
6 years, 5 months ago (2014-07-22 14:57:42 UTC) #2
mmenke
https://codereview.chromium.org/403393003/diff/1/net/http/http_network_transaction.cc File net/http/http_network_transaction.cc (right): https://codereview.chromium.org/403393003/diff/1/net/http/http_network_transaction.cc#newcode1467 net/http/http_network_transaction.cc:1467: case ERR_EMPTY_RESPONSE: Note that this is a conservative list ...
6 years, 5 months ago (2014-07-22 15:01:42 UTC) #3
jonnyr
Thanks Matt, now improved according to your review. https://codereview.chromium.org/403393003/diff/1/net/http/http_network_transaction.cc File net/http/http_network_transaction.cc (right): https://codereview.chromium.org/403393003/diff/1/net/http/http_network_transaction.cc#newcode78 net/http/http_network_transaction.cc:78: // ...
6 years, 5 months ago (2014-07-23 08:43:05 UTC) #4
mmenke
[+rvargas] for thoughts on the cache/header logic in HttpNetworkTransaction::ShouldResendRequest, which I'd really prefer not to ...
6 years, 5 months ago (2014-07-23 15:08:41 UTC) #5
jonnyr
On 2014/07/23 15:08:41, mmenke wrote: > [+rvargas] for thoughts on the cache/header logic in > ...
6 years, 5 months ago (2014-07-23 19:28:47 UTC) #6
mmenke
A couple minor comments. Good job on the tests, look pretty thorough. https://codereview.chromium.org/403393003/diff/20001/net/http/http_network_transaction.cc File net/http/http_network_transaction.cc ...
6 years, 5 months ago (2014-07-23 20:17:43 UTC) #7
rvargas (doing something else)
Please create a bug for tracking this and format the CL description to 80 cols ...
6 years, 4 months ago (2014-07-24 19:09:48 UTC) #8
jonnyr
I created http://code.google.com/p/chromium/issues/detail?id=397474 to track this issue, I hope that is done correctly. There are ...
6 years, 4 months ago (2014-07-25 13:42:00 UTC) #9
rvargas (doing something else)
https://codereview.chromium.org/403393003/diff/20001/net/http/http_network_transaction.cc File net/http/http_network_transaction.cc (right): https://codereview.chromium.org/403393003/diff/20001/net/http/http_network_transaction.cc#newcode1533 net/http/http_network_transaction.cc:1533: if (response_.headers->HasHeaderValue("cache-control", "no-cache") || On 2014/07/25 13:41:59, jonnyr wrote: ...
6 years, 4 months ago (2014-07-26 00:30:33 UTC) #10
jonnyr
On 2014/07/26 00:30:33, rvargas wrote: > https://codereview.chromium.org/403393003/diff/20001/net/http/http_network_transaction.cc > File net/http/http_network_transaction.cc (right): > > https://codereview.chromium.org/403393003/diff/20001/net/http/http_network_transaction.cc#newcode1533 > ...
6 years, 4 months ago (2014-07-28 07:44:22 UTC) #11
mmenke
5 years, 8 months ago (2015-03-30 15:25:35 UTC) #13
Removing myself as reviewer.  Too many stale CLs on my list.

Powered by Google App Engine
This is Rietveld 408576698