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

Issue 2749123002: ABANDONED Allow SpdySessionPool to find/create SpdySession with IP pooling disabled. (Closed)

Created:
3 years, 9 months ago by Bence
Modified:
3 years, 9 months ago
Reviewers:
Ryan Hamilton
CC:
chromium-reviews, cbentzel+watch_chromium.org, bnc+watch_chromium.org, net-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

ABANDONED Allow SpdySessionPool to find/create SpdySession with IP pooling disabled. Abandoned in favor of https://crrev.com/2756503002. This is in preparation to support HTTP response status 421 Misdirected Request, when the client may retry the request on a different connection, preferably on one with IP based pooling disabled. * Add |enable_ip_based_pooling| argument to SpdySessionPool::FindAvailableSession(), SpdySessionPool::MapKeyToAvailableSession(), SpdySessionPool::UnmapKey() methods. * Implement container SpdySessionPool::AvailableSessionMap. * Add unittest; add test helper method. BUG=546991

Patch Set 1 #

Total comments: 23

Patch Set 2 : Re: #7. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+452 lines, -58 lines) Patch
M net/http/http_proxy_client_socket_wrapper.cc View 2 chunks +6 lines, -2 lines 0 comments Download
M net/http/http_stream_factory_impl_job.cc View 4 chunks +9 lines, -5 lines 0 comments Download
M net/spdy/spdy_network_transaction_unittest.cc View 6 chunks +18 lines, -6 lines 0 comments Download
M net/spdy/spdy_session_pool.h View 1 6 chunks +99 lines, -15 lines 0 comments Download
M net/spdy/spdy_session_pool.cc View 1 9 chunks +200 lines, -12 lines 0 comments Download
M net/spdy/spdy_session_pool_unittest.cc View 4 chunks +85 lines, -7 lines 0 comments Download
M net/spdy/spdy_session_unittest.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M net/spdy/spdy_test_util_common.h View 1 chunk +7 lines, -0 lines 0 comments Download
M net/spdy/spdy_test_util_common.cc View 5 chunks +25 lines, -9 lines 0 comments Download

Messages

Total messages: 14 (10 generated)
Bence
Ryan: PTAL. Thanks.
3 years, 9 months ago (2017-03-14 21:50:33 UTC) #4
Ryan Hamilton
Wow, that's some dense code! Thanks for working on correct 421 handling. https://codereview.chromium.org/2749123002/diff/1/net/spdy/spdy_session_pool.cc File net/spdy/spdy_session_pool.cc ...
3 years, 9 months ago (2017-03-14 22:20:20 UTC) #7
Bence
PTAL. https://codereview.chromium.org/2749123002/diff/1/net/spdy/spdy_session_pool.cc File net/spdy/spdy_session_pool.cc (right): https://codereview.chromium.org/2749123002/diff/1/net/spdy/spdy_session_pool.cc#newcode251 net/spdy/spdy_session_pool.cc:251: UnmapKey(available_session->spdy_session_key(), /* ip_pooled = */ false); On 2017/03/14 ...
3 years, 9 months ago (2017-03-15 10:05:27 UTC) #12
Bence
3 years, 9 months ago (2017-03-15 23:58:40 UTC) #13
https://crrev.com/2756503002 might be a better way to solve the very same
problem.

Powered by Google App Engine
This is Rietveld 408576698