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

Issue 3417010: Integrate the SpdyProxyClientSocket into the HttpStreamRequest... (Closed)

Created:
10 years, 3 months ago by Ryan Hamilton
Modified:
9 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Integrate the SpdyProxyClientSocket into the HttpStreamRequest to support fetching HTTPS URLS over a SPDY Proxy. BUG=29625 TEST=HttpNetworkTransactionTest.HttpsProxySpdyConnect Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=62468

Patch Set 1 : '' #

Patch Set 2 : '' #

Total comments: 20

Patch Set 3 : '' #

Total comments: 16

Patch Set 4 : Fixed vandebo's comments #

Patch Set 5 : '' #

Total comments: 11

Patch Set 6 : Added SPDY tests of HttpProxySocketPool #

Patch Set 7 : Better HTTPS Proxy cert/client auth error handling #

Total comments: 14

Patch Set 8 : '' #

Patch Set 9 : Fixing mbelshe's comments #

Patch Set 10 : Rebase to LKGR #

Total comments: 16

Patch Set 11 : Addressing vandebo's comments #

Total comments: 2

Patch Set 12 : Addressing vandebo's comments, part 2 #

Total comments: 4

Patch Set 13 : Addressing vandebo's comments, part 3 #

Patch Set 14 : final upload? #

Patch Set 15 : Rebasing again #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+912 lines, -337 lines) Patch
M net/base/net_error_list.h View 8 9 10 11 12 13 14 2 chunks +4 lines, -1 line 0 comments Download
M net/http/http_network_transaction_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +212 lines, -0 lines 0 comments Download
M net/http/http_proxy_client_socket_pool.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +21 lines, -0 lines 0 comments Download
M net/http/http_proxy_client_socket_pool.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 8 chunks +99 lines, -15 lines 0 comments Download
M net/http/http_proxy_client_socket_pool_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 chunks +285 lines, -129 lines 0 comments Download
M net/http/http_stream_request.h View 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
M net/http/http_stream_request.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +13 lines, -5 lines 1 comment Download
M net/socket/socket.h View 8 9 10 11 12 13 14 2 chunks +4 lines, -4 lines 0 comments Download
M net/socket/socket_test_util.h View 8 9 10 11 12 13 14 2 chunks +5 lines, -56 lines 0 comments Download
M net/socket/socket_test_util.cc View 8 9 10 11 12 13 14 2 chunks +0 lines, -97 lines 0 comments Download
M net/socket/ssl_client_socket_pool_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +2 lines, -0 lines 0 comments Download
M net/spdy/spdy_framer.h View 8 9 10 11 12 13 14 2 chunks +2 lines, -0 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket.h View 8 9 10 11 12 13 14 1 chunk +3 lines, -2 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket.cc View 2 3 4 5 6 7 8 9 10 11 12 13 14 12 chunks +53 lines, -26 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket_unittest.cc View 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +128 lines, -2 lines 0 comments Download
M net/spdy/spdy_test_util.h View 4 5 6 7 8 9 10 11 12 13 14 3 chunks +18 lines, -0 lines 0 comments Download
M net/spdy/spdy_test_util.cc View 4 5 6 7 8 9 10 11 12 13 14 3 chunks +61 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Ryan Hamilton
Hi Guys, Here's a first pass at hooking the SpdyProxyClientSocket into the normal request flow ...
10 years, 2 months ago (2010-10-06 03:20:29 UTC) #1
wtc
http://codereview.chromium.org/3417010/diff/53002/59015 File net/spdy/spdy_proxy_client_socket.cc (left): http://codereview.chromium.org/3417010/diff/53002/59015#oldcode94 net/spdy/spdy_proxy_client_socket.cc:94: return next_state_ == STATE_DONE && spdy_stream_ != NULL && ...
10 years, 2 months ago (2010-10-06 20:53:36 UTC) #2
Ryan Hamilton
http://codereview.chromium.org/3417010/diff/53002/59015 File net/spdy/spdy_proxy_client_socket.cc (left): http://codereview.chromium.org/3417010/diff/53002/59015#oldcode94 net/spdy/spdy_proxy_client_socket.cc:94: return next_state_ == STATE_DONE && spdy_stream_ != NULL && ...
10 years, 2 months ago (2010-10-06 21:24:38 UTC) #3
vandebo (ex-Chrome)
http://codereview.chromium.org/3417010/diff/53002/59010 File net/http/http_proxy_client_socket_pool.cc (left): http://codereview.chromium.org/3417010/diff/53002/59010#oldcode21 net/http/http_proxy_client_socket_pool.cc:21: #include "net/socket/tcp_client_socket_pool.h" Why did you get rid of this ...
10 years, 2 months ago (2010-10-07 21:05:52 UTC) #4
Ryan Hamilton
http://codereview.chromium.org/3417010/diff/53002/59010 File net/http/http_proxy_client_socket_pool.cc (left): http://codereview.chromium.org/3417010/diff/53002/59010#oldcode21 net/http/http_proxy_client_socket_pool.cc:21: #include "net/socket/tcp_client_socket_pool.h" On 2010/10/07 21:05:52, vandebo wrote: > Why ...
10 years, 2 months ago (2010-10-07 23:38:00 UTC) #5
vandebo (ex-Chrome)
http://codereview.chromium.org/3417010/diff/56002/44009 File net/spdy/spdy_proxy_client_socket.cc (right): http://codereview.chromium.org/3417010/diff/56002/44009#newcode433 net/spdy/spdy_proxy_client_socket.cc:433: write_callback_ = NULL; On 2010/10/07 23:38:01, Ryan Hamilton wrote: ...
10 years, 2 months ago (2010-10-08 19:08:41 UTC) #6
Ryan Hamilton
http://codereview.chromium.org/3417010/diff/56002/44009 File net/spdy/spdy_proxy_client_socket.cc (right): http://codereview.chromium.org/3417010/diff/56002/44009#newcode433 net/spdy/spdy_proxy_client_socket.cc:433: write_callback_ = NULL; On 2010/10/08 19:08:41, vandebo wrote: > ...
10 years, 2 months ago (2010-10-08 23:08:43 UTC) #7
Ryan Hamilton
Addressing a number of issues that mbelshe raised in a verbal code review. Also adding ...
10 years, 2 months ago (2010-10-12 18:34:05 UTC) #8
vandebo (ex-Chrome)
http://codereview.chromium.org/3417010/diff/107001/37004 File net/http/http_proxy_client_socket_pool.cc (right): http://codereview.chromium.org/3417010/diff/107001/37004#newcode193 net/http/http_proxy_client_socket_pool.cc:193: HostPortProxyPair pair(params_->destination().host_port_pair(), On 2010/10/08 23:08:43, Ryan Hamilton wrote: > ...
10 years, 2 months ago (2010-10-12 22:19:08 UTC) #9
Ryan Hamilton
http://codereview.chromium.org/3417010/diff/166002/147021 File net/http/http_proxy_client_socket_pool.cc (right): http://codereview.chromium.org/3417010/diff/166002/147021#newcode224 net/http/http_proxy_client_socket_pool.cc:224: return ERR_PROXY_CONNECTION_FAILED; On 2010/10/12 22:19:09, vandebo wrote: > This ...
10 years, 2 months ago (2010-10-12 23:14:02 UTC) #10
vandebo (ex-Chrome)
LGTM with comments. http://codereview.chromium.org/3417010/diff/166002/147030 File net/spdy/spdy_framer.h (right): http://codereview.chromium.org/3417010/diff/166002/147030#newcode264 net/spdy/spdy_framer.h:264: public: On 2010/10/12 23:14:03, Ryan Hamilton ...
10 years, 2 months ago (2010-10-12 23:45:24 UTC) #11
Ryan Hamilton
http://codereview.chromium.org/3417010/diff/166002/147030 File net/spdy/spdy_framer.h (right): http://codereview.chromium.org/3417010/diff/166002/147030#newcode264 net/spdy/spdy_framer.h:264: public: On 2010/10/12 23:45:25, vandebo wrote: > On 2010/10/12 ...
10 years, 2 months ago (2010-10-13 15:48:39 UTC) #12
willchan no longer on Chromium
10 years ago (2010-12-02 22:44:31 UTC) #13
http://codereview.chromium.org/3417010/diff/201003/net/http/http_stream_reque...
File net/http/http_stream_request.cc (right):

http://codereview.chromium.org/3417010/diff/201003/net/http/http_stream_reque...
net/http/http_stream_request.cc:757: bool useRelativeUrl = direct ||
request_info().url.SchemeIs("https");
is this WebKit style sneaking in here? :P
s/useRelativeUrl/use_relative_url/

Powered by Google App Engine
This is Rietveld 408576698