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

Issue 3110006: Add support for speaking SSL to an HTTP Proxy, to HttpProxyClientSocketPool (and friends) (Closed)

Created:
10 years, 4 months ago by Ryan Hamilton
Modified:
7 years ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Add support for speaking SSL to an HTTP Proxy, to HttpProxyClientSocketPool (and friends) More information about an HTTPS Proxy can be found here: http://dev.chromium.org/spdy/spdy-proxy This implementation supports both http:// and https:// requests, as well as support for both Proxy and Server auth. BUG=29625 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57333

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Total comments: 57

Patch Set 5 : '' #

Total comments: 9

Patch Set 6 : '' #

Total comments: 8

Patch Set 7 : '' #

Total comments: 27

Patch Set 8 : '' #

Patch Set 9 : '' #

Total comments: 20

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Total comments: 15

Patch Set 14 : '' #

Total comments: 1

Patch Set 15 : '' #

Patch Set 16 : '' #

Patch Set 17 : '' #

Patch Set 18 : '' #

Patch Set 19 : '' #

Patch Set 20 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+738 lines, -104 lines) Patch
M net/http/http_network_session.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +4 lines, -0 lines 0 comments Download
M net/http/http_network_session.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +14 lines, -0 lines 0 comments Download
M net/http/http_network_transaction.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 4 chunks +9 lines, -5 lines 0 comments Download
M net/http/http_network_transaction_unittest.cc View 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +290 lines, -0 lines 0 comments Download
M net/http/http_proxy_client_socket_pool.h View 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 8 chunks +30 lines, -10 lines 0 comments Download
M net/http/http_proxy_client_socket_pool.cc View 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 10 chunks +94 lines, -27 lines 0 comments Download
M net/http/http_proxy_client_socket_pool_unittest.cc View 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 15 chunks +68 lines, -28 lines 0 comments Download
M net/http/http_stream_request.h View 16 17 18 19 2 chunks +13 lines, -0 lines 0 comments Download
M net/http/http_stream_request.cc View 16 17 18 19 7 chunks +56 lines, -32 lines 0 comments Download
M net/socket/socket_test_util.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +57 lines, -0 lines 0 comments Download
M net/socket/socket_test_util.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +98 lines, -0 lines 0 comments Download
M net/socket/ssl_client_socket_pool.cc View 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 3 chunks +3 lines, -1 line 0 comments Download
M net/socket/ssl_client_socket_pool_unittest.cc View 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 25 (0 generated)
Ryan Hamilton
10 years, 4 months ago (2010-08-11 03:33:52 UTC) #1
Paweł Hajdan Jr.
Drive-by with a test comment. http://codereview.chromium.org/3110006/diff/21002/30006 File net/http/http_network_transaction_unittest.cc (right): http://codereview.chromium.org/3110006/diff/21002/30006#newcode1722 net/http/http_network_transaction_unittest.cc:1722: /* How about rather ...
10 years, 4 months ago (2010-08-11 16:57:41 UTC) #2
Mike Belshe
Adding Erik Chen.
10 years, 4 months ago (2010-08-11 17:22:59 UTC) #3
Ryan Hamilton
http://codereview.chromium.org/3110006/diff/21002/30006 File net/http/http_network_transaction_unittest.cc (right): http://codereview.chromium.org/3110006/diff/21002/30006#newcode1722 net/http/http_network_transaction_unittest.cc:1722: /* On 2010/08/11 16:57:41, Paweł Hajdan Jr. wrote: > ...
10 years, 4 months ago (2010-08-11 17:27:35 UTC) #4
vandebo (ex-Chrome)
I couldn't get through this entire CL before my brain stopped accepting new info from ...
10 years, 4 months ago (2010-08-11 19:02:04 UTC) #5
Ryan Hamilton
http://codereview.chromium.org/3110006/diff/21002/30002 File net/http/http_network_session.cc (right): http://codereview.chromium.org/3110006/diff/21002/30002#newcode96 net/http/http_network_session.cc:96: new SSLClientSocketPool( On 2010/08/11 19:02:05, vandebo wrote: > Maybe ...
10 years, 4 months ago (2010-08-12 04:18:39 UTC) #6
Ryan Hamilton
http://codereview.chromium.org/3110006/diff/21002/30004 File net/http/http_network_transaction.cc (right): http://codereview.chromium.org/3110006/diff/21002/30004#newcode1102 net/http/http_network_transaction.cc:1102: !using_ssl_ && proxy_info_.is_http(), &request_line, On 2010/08/11 19:02:05, vandebo wrote: ...
10 years, 4 months ago (2010-08-12 19:25:57 UTC) #7
Mike Belshe
a few minor comments so far. http://codereview.chromium.org/3110006/diff/49004/50004 File net/http/http_network_transaction.cc (right): http://codereview.chromium.org/3110006/diff/49004/50004#newcode1797 net/http/http_network_transaction.cc:1797: return GURL("https://" + ...
10 years, 4 months ago (2010-08-13 21:43:04 UTC) #8
Ryan Hamilton
http://codereview.chromium.org/3110006/diff/49004/50004 File net/http/http_network_transaction.cc (right): http://codereview.chromium.org/3110006/diff/49004/50004#newcode1797 net/http/http_network_transaction.cc:1797: return GURL("https://" + On 2010/08/13 21:43:04, Mike Belshe wrote: ...
10 years, 4 months ago (2010-08-13 22:17:50 UTC) #9
vandebo (ex-Chrome)
Sorry for the long delay. http://codereview.chromium.org/3110006/diff/21002/30002 File net/http/http_network_session.cc (right): http://codereview.chromium.org/3110006/diff/21002/30002#newcode96 net/http/http_network_session.cc:96: new SSLClientSocketPool( On 2010/08/12 ...
10 years, 4 months ago (2010-08-17 02:01:07 UTC) #10
Ryan Hamilton
http://codereview.chromium.org/3110006/diff/21002/30011 File net/http/http_proxy_client_socket_pool_unittest.cc (right): http://codereview.chromium.org/3110006/diff/21002/30011#newcode63 net/http/http_proxy_client_socket_pool_unittest.cc:63: http_proxy_histograms_, NULL, tcp_socket_pool_, ssl_socket_pool_, On 2010/08/17 02:01:07, vandebo wrote: ...
10 years, 4 months ago (2010-08-18 14:46:28 UTC) #11
Ryan Hamilton
http://codereview.chromium.org/3110006/diff/21002/30011 File net/http/http_proxy_client_socket_pool_unittest.cc (right): http://codereview.chromium.org/3110006/diff/21002/30011#newcode63 net/http/http_proxy_client_socket_pool_unittest.cc:63: http_proxy_histograms_, NULL, tcp_socket_pool_, ssl_socket_pool_, On 2010/08/17 02:01:07, vandebo wrote: ...
10 years, 4 months ago (2010-08-18 14:46:28 UTC) #12
vandebo (ex-Chrome)
I'm basically happy with this change now; there's just a few small things and a ...
10 years, 4 months ago (2010-08-19 18:40:56 UTC) #13
cbentzel
I'll plan on looking this CL a bit more thoroughly after you merge with the ...
10 years, 4 months ago (2010-08-19 21:40:19 UTC) #14
Ryan Hamilton
Ok, time to rebase for the StreamFactory. Whee! http://codereview.chromium.org/3110006/diff/13011/54009 File net/http/http_proxy_client_socket_pool.cc (right): http://codereview.chromium.org/3110006/diff/13011/54009#newcode225 net/http/http_proxy_client_socket_pool.cc:225: if ...
10 years, 4 months ago (2010-08-19 22:30:24 UTC) #15
vandebo (ex-Chrome)
http://codereview.chromium.org/3110006/diff/13011/54009 File net/http/http_proxy_client_socket_pool.cc (right): http://codereview.chromium.org/3110006/diff/13011/54009#newcode225 net/http/http_proxy_client_socket_pool.cc:225: if (tcp_pool_) On 2010/08/19 22:30:25, rch wrote: > On ...
10 years, 4 months ago (2010-08-19 22:43:23 UTC) #16
rch (use chromium not google)
On Aug 19, 2010 2:40:19 PM PDT, cbentzel <cbentzel@chromium.org> wrote: > I'll plan on looking ...
10 years, 4 months ago (2010-08-20 20:42:44 UTC) #17
Ryan Hamilton
http://codereview.chromium.org/3110006/diff/21018/14009 File net/http/http_network_transaction_unittest.cc (right): http://codereview.chromium.org/3110006/diff/21018/14009#newcode1772 net/http/http_network_transaction_unittest.cc:1772: StaticSocketDataProvider data1(data_reads1, arraysize(data_reads1), On 2010/08/19 22:43:24, vandebo wrote: > ...
10 years, 4 months ago (2010-08-23 16:19:11 UTC) #18
vandebo (ex-Chrome)
Just a couple more small things. http://codereview.chromium.org/3110006/diff/60004/34008 File net/http/http_network_transaction_unittest.cc (right): http://codereview.chromium.org/3110006/diff/60004/34008#newcode3696 net/http/http_network_transaction_unittest.cc:3696: SessionDependencies session_deps(CreateFixedProxyService("https://myproxy:70")); 80 ...
10 years, 4 months ago (2010-08-23 23:11:55 UTC) #19
Ryan Hamilton
http://codereview.chromium.org/3110006/diff/60004/34008 File net/http/http_network_transaction_unittest.cc (right): http://codereview.chromium.org/3110006/diff/60004/34008#newcode3696 net/http/http_network_transaction_unittest.cc:3696: SessionDependencies session_deps(CreateFixedProxyService("https://myproxy:70")); On 2010/08/23 23:11:55, vandebo wrote: > 80 ...
10 years, 4 months ago (2010-08-23 23:48:45 UTC) #20
vandebo (ex-Chrome)
Where are the try job results? http://codereview.chromium.org/3110006/diff/60004/34008 File net/http/http_network_transaction_unittest.cc (right): http://codereview.chromium.org/3110006/diff/60004/34008#newcode3807 net/http/http_network_transaction_unittest.cc:3807: for (int i ...
10 years, 4 months ago (2010-08-24 01:55:02 UTC) #21
Ryan Hamilton
Argh! I replied last night, but somehow I sent the reply only to myself. *sigh* ...
10 years, 4 months ago (2010-08-24 23:01:13 UTC) #22
vandebo (ex-Chrome)
On 2010/08/24 23:01:13, rch wrote: > On 2010/08/24 01:55:02, vandebo wrote: > > http://codereview.chromium.org/3110006/diff/89002/23018 > ...
10 years, 4 months ago (2010-08-24 23:07:36 UTC) #23
Ryan Hamilton
On 2010/08/24 23:07:36, vandebo wrote: > On 2010/08/24 23:01:13, rch wrote: > > On 2010/08/24 ...
10 years, 4 months ago (2010-08-24 23:17:38 UTC) #24
vandebo (ex-Chrome)
10 years, 4 months ago (2010-08-24 23:32:19 UTC) #25
LGTM!

Powered by Google App Engine
This is Rietveld 408576698