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

Issue 1615005: Flush socket pools and SPDY session pool properly on explicit requests and network changes. (Closed)

Created:
10 years, 8 months ago by willchan no longer on Chromium
Modified:
9 years, 7 months ago
Reviewers:
Mike Belshe
CC:
chromium-reviews
Visibility:
Public.

Description

Flush socket pools and SPDY session pool properly on explicit requests and network changes. BUG=40455, 40457 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=43908

Patch Set 1 #

Total comments: 3

Patch Set 2 : Flush HostResolver too. Add test in http_network_session_unittest.cc. #

Patch Set 3 : Delete dupe test. #

Patch Set 4 : Fix minor leak. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -191 lines) Patch
M net/base/host_resolver.h View 1 chunk +3 lines, -0 lines 0 comments Download
M net/base/host_resolver_impl.h View 3 chunks +2 lines, -5 lines 0 comments Download
M net/base/host_resolver_impl.cc View 4 chunks +2 lines, -7 lines 0 comments Download
M net/base/host_resolver_impl_unittest.cc View 1 chunk +0 lines, -32 lines 0 comments Download
M net/base/mapped_host_resolver.h View 1 chunk +1 line, -0 lines 0 comments Download
M net/base/mock_host_resolver.h View 1 chunk +3 lines, -0 lines 0 comments Download
M net/base/mock_host_resolver.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M net/http/http_cache.cc View 1 chunk +2 lines, -6 lines 0 comments Download
M net/http/http_network_layer.h View 2 chunks +0 lines, -2 lines 0 comments Download
M net/http/http_network_layer.cc View 4 chunks +2 lines, -6 lines 0 comments Download
M net/http/http_network_session.h View 6 chunks +14 lines, -7 lines 0 comments Download
M net/http/http_network_session.cc View 1 2 chunks +42 lines, -23 lines 0 comments Download
A net/http/http_network_session_unittest.cc View 2 3 1 chunk +82 lines, -0 lines 0 comments Download
M net/http/http_network_transaction_unittest.cc View 3 chunks +3 lines, -8 lines 0 comments Download
M net/net.gyp View 1 chunk +1 line, -0 lines 0 comments Download
M net/socket/client_socket_pool_base.h View 6 chunks +4 lines, -14 lines 0 comments Download
M net/socket/client_socket_pool_base.cc View 4 chunks +1 line, -13 lines 0 comments Download
M net/socket/client_socket_pool_base_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M net/socket/socks_client_socket_pool.h View 1 chunk +1 line, -2 lines 0 comments Download
M net/socket/socks_client_socket_pool.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M net/socket/socks_client_socket_pool_unittest.cc View 4 chunks +6 lines, -9 lines 0 comments Download
M net/socket/tcp_client_socket_pool.h View 1 chunk +1 line, -2 lines 0 comments Download
M net/socket/tcp_client_socket_pool.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M net/socket/tcp_client_socket_pool_unittest.cc View 4 chunks +1 line, -30 lines 0 comments Download
M net/spdy/spdy_network_transaction_unittest.cc View 3 chunks +2 lines, -6 lines 0 comments Download
M net/spdy/spdy_session_unittest.cc View 2 chunks +1 line, -4 lines 0 comments Download
M net/spdy/spdy_stream_unittest.cc View 2 chunks +2 lines, -6 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
willchan no longer on Chromium
10 years, 8 months ago (2010-04-06 00:40:48 UTC) #1
Mike Belshe
lgtm http://codereview.chromium.org/1615005/diff/1/5 File net/http/http_network_session.cc (right): http://codereview.chromium.org/1615005/diff/1/5#newcode40 net/http/http_network_session.cc:40: spdy_session_pool_(new SpdySessionPool()), nit: stylistically, you could do a ...
10 years, 8 months ago (2010-04-06 19:53:45 UTC) #2
willchan no longer on Chromium
I've added support for flushing HostResolver too. All the flushing logic for the network stack ...
10 years, 8 months ago (2010-04-07 23:36:09 UTC) #3
Mike Belshe
10 years, 8 months ago (2010-04-08 00:45:36 UTC) #4
lgtm!

Powered by Google App Engine
This is Rietveld 408576698