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

Issue 1684123004: Bypass the DataReductionProxy for all POST requests (Closed)

Created:
4 years, 10 months ago by RyanSturm
Modified:
4 years, 9 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, cbentzel+watch_chromium.org, chromium-reviews, darin (slow to review), darin-cc_chromium.org, jam, Paweł Hajdan Jr., qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Bypass the DataReductionProxy for all POST requests POST requests are non-dempotent, so clients using the Data Reduction Proxy (DRP) can often end up at an error page due to the fact that if the DRP has any problems connecting to the origin, DRP and the client will not be safely able to determine if the post successfully made it to the server. The impact of this change on data compression should be very limited, and it will improve the client's experience. BUG=581750 Committed: https://crrev.com/4bab0683f19f749d1974944281c07abbc0d814cf Cr-Commit-Position: refs/heads/master@{#379137}

Patch Set 1 #

Patch Set 2 : Resubmitting with upstream branch set to branch from issue 1680893002 #

Total comments: 62

Patch Set 3 : Reorder parameters and change "" to std::string() #

Total comments: 16

Patch Set 4 : Fixing nit issues and Rebase #

Total comments: 5

Patch Set 5 : Rebase and nit issues #

Patch Set 6 : Fixing Rebase issue #

Total comments: 1

Patch Set 7 : Adding a comment #

Total comments: 6

Patch Set 8 : Removing a DHECK, changing FTP Job to always pass in "GET" as method, adding more unittest coverage #

Total comments: 4

Patch Set 9 : string -> const string&, default initialization for string #

Patch Set 10 : Rebase #

Patch Set 11 : Fix Rebase issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+459 lines, -342 lines) Patch
M chrome/browser/net/predictor.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chromeos/dbus/services/proxy_resolution_service_provider.cc View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.h View 1 2 3 chunks +4 lines, -0 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -2 lines 0 comments Download
M components/data_reduction_proxy/core/browser/data_reduction_proxy_delegate_unittest.cc View 1 2 3 4 5 6 7 8 9 2 chunks +19 lines, -9 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_network_proxy_host.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/resolve_proxy_msg_helper.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M google_apis/gcm/engine/connection_factory_impl.cc View 1 2 3 4 3 chunks +5 lines, -1 line 0 comments Download
M jingle/glue/proxy_resolving_client_socket.cc View 1 2 3 4 3 chunks +3 lines, -1 line 0 comments Download
M net/base/proxy_delegate.h View 1 2 3 4 2 chunks +8 lines, -3 lines 0 comments Download
M net/base/test_proxy_delegate.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M net/base/test_proxy_delegate.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M net/http/http_stream_factory_impl_job.cc View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -4 lines 0 comments Download
M net/proxy/proxy_service.h View 1 2 3 4 5 6 3 chunks +9 lines, -0 lines 0 comments Download
M net/proxy/proxy_service.cc View 1 2 3 4 5 6 7 8 9 10 chunks +21 lines, -11 lines 0 comments Download
M net/proxy/proxy_service_mojo_unittest.cc View 1 2 3 chunks +12 lines, -12 lines 0 comments Download
M net/proxy/proxy_service_unittest.cc View 1 2 3 4 5 6 7 8 9 52 chunks +352 lines, -289 lines 0 comments Download
M net/url_request/url_request_ftp_job.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -6 lines 0 comments Download
M net/websockets/websocket_end_to_end_test.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (7 generated)
RyanSturm
4 years, 10 months ago (2016-02-11 22:02:21 UTC) #2
bengr
https://codereview.chromium.org/1684123004/diff/20001/chrome/browser/net/predictor.cc File chrome/browser/net/predictor.cc (right): https://codereview.chromium.org/1684123004/diff/20001/chrome/browser/net/predictor.cc#newcode1019 chrome/browser/net/predictor.cc:1019: url, net::LOAD_NORMAL, &info, nullptr, "", net::BoundNetLog()); Since this entire ...
4 years, 10 months ago (2016-02-16 20:00:14 UTC) #3
RyanSturm
https://codereview.chromium.org/1684123004/diff/20001/chrome/browser/net/predictor.cc File chrome/browser/net/predictor.cc (right): https://codereview.chromium.org/1684123004/diff/20001/chrome/browser/net/predictor.cc#newcode1019 chrome/browser/net/predictor.cc:1019: url, net::LOAD_NORMAL, &info, nullptr, "", net::BoundNetLog()); On 2016/02/16 20:00:13, ...
4 years, 10 months ago (2016-02-17 21:46:13 UTC) #4
bengr
https://codereview.chromium.org/1684123004/diff/40001/content/browser/resolve_proxy_msg_helper.cc File content/browser/resolve_proxy_msg_helper.cc (right): https://codereview.chromium.org/1684123004/diff/40001/content/browser/resolve_proxy_msg_helper.cc#newcode95 content/browser/resolve_proxy_msg_helper.cc:95: req.url, std::string(), net::LOAD_NORMAL, &proxy_info_, Why not always pass in ...
4 years, 10 months ago (2016-02-21 21:36:40 UTC) #6
RyanSturm
https://codereview.chromium.org/1684123004/diff/40001/content/browser/resolve_proxy_msg_helper.cc File content/browser/resolve_proxy_msg_helper.cc (right): https://codereview.chromium.org/1684123004/diff/40001/content/browser/resolve_proxy_msg_helper.cc#newcode95 content/browser/resolve_proxy_msg_helper.cc:95: req.url, std::string(), net::LOAD_NORMAL, &proxy_info_, On 2016/02/21 21:36:39, bengr wrote: ...
4 years, 9 months ago (2016-02-26 22:16:19 UTC) #7
bengr
Lgtm, but please add the comment and the includes. https://codereview.chromium.org/1684123004/diff/60001/google_apis/gcm/engine/connection_factory_impl.cc File google_apis/gcm/engine/connection_factory_impl.cc (right): https://codereview.chromium.org/1684123004/diff/60001/google_apis/gcm/engine/connection_factory_impl.cc#newcode310 google_apis/gcm/engine/connection_factory_impl.cc:310: ...
4 years, 9 months ago (2016-02-26 23:43:33 UTC) #8
RyanSturm
On 2016/02/26 23:43:33, bengr wrote: > Lgtm, but please add the comment and the includes. ...
4 years, 9 months ago (2016-02-29 21:03:33 UTC) #9
RyanSturm
Adding code reviewers for specific areas.
4 years, 9 months ago (2016-03-01 00:00:35 UTC) #11
Nicolas Zea
jingle and gcm LGTM
4 years, 9 months ago (2016-03-01 00:05:46 UTC) #12
jochen (gone - plz use gerrit)
i'm not a very specific reviewer. what do you want me to look at?
4 years, 9 months ago (2016-03-01 14:39:51 UTC) #13
RyanSturm
On 2016/03/01 14:39:51, jochen wrote: > i'm not a very specific reviewer. what do you ...
4 years, 9 months ago (2016-03-01 15:20:58 UTC) #14
jochen (gone - plz use gerrit)
On 2016/03/01 at 15:20:58, ryansturm wrote: > On 2016/03/01 14:39:51, jochen wrote: > > i'm ...
4 years, 9 months ago (2016-03-01 15:43:11 UTC) #15
hashimoto
I assume you are asking me to review chromeos/dbus. It'd be appreciated if you could ...
4 years, 9 months ago (2016-03-02 05:36:26 UTC) #16
hashimoto
Actually, lgtm with a nit. https://codereview.chromium.org/1684123004/diff/100001/net/proxy/proxy_service.h File net/proxy/proxy_service.h (right): https://codereview.chromium.org/1684123004/diff/100001/net/proxy/proxy_service.h#newcode110 net/proxy/proxy_service.h:110: // Determines the appropriate ...
4 years, 9 months ago (2016-03-02 05:47:59 UTC) #17
mmenke
Sorry for slowness. A lot of reviews this week, as usual. I'll do a second ...
4 years, 9 months ago (2016-03-02 22:53:45 UTC) #18
RyanSturm
https://codereview.chromium.org/1684123004/diff/120001/net/proxy/proxy_service.cc File net/proxy/proxy_service.cc (right): https://codereview.chromium.org/1684123004/diff/120001/net/proxy/proxy_service.cc#newcode1018 net/proxy/proxy_service.cc:1018: DCHECK((proxy_delegate && !method.empty()) || !proxy_delegate); On 2016/03/02 22:53:45, mmenke ...
4 years, 9 months ago (2016-03-03 18:54:31 UTC) #19
mmenke
net/, chrome/browser/net LGTM https://codereview.chromium.org/1684123004/diff/140001/net/proxy/proxy_service_unittest.cc File net/proxy/proxy_service_unittest.cc (right): https://codereview.chromium.org/1684123004/diff/140001/net/proxy/proxy_service_unittest.cc#newcode172 net/proxy/proxy_service_unittest.cc:172: method_(), nit: Explicit initialization not needed ...
4 years, 9 months ago (2016-03-03 19:05:53 UTC) #20
RyanSturm
https://codereview.chromium.org/1684123004/diff/140001/net/proxy/proxy_service_unittest.cc File net/proxy/proxy_service_unittest.cc (right): https://codereview.chromium.org/1684123004/diff/140001/net/proxy/proxy_service_unittest.cc#newcode172 net/proxy/proxy_service_unittest.cc:172: method_(), On 2016/03/03 19:05:53, mmenke wrote: > nit: Explicit ...
4 years, 9 months ago (2016-03-03 19:33:08 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1684123004/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1684123004/200001
4 years, 9 months ago (2016-03-03 23:31:00 UTC) #24
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 9 months ago (2016-03-03 23:41:17 UTC) #26
commit-bot: I haz the power
4 years, 9 months ago (2016-03-03 23:44:01 UTC) #28
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/4bab0683f19f749d1974944281c07abbc0d814cf
Cr-Commit-Position: refs/heads/master@{#379137}

Powered by Google App Engine
This is Rietveld 408576698