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

Unified Diff: net/spdy/spdy_session_pool.cc

Issue 7471056: Minor cleanup of unit tests for spdy_session_ool. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/spdy/spdy_session_pool.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session_pool.cc
===================================================================
--- net/spdy/spdy_session_pool.cc (revision 93322)
+++ net/spdy/spdy_session_pool.cc (working copy)
@@ -157,10 +157,8 @@
// direct connection.
if (g_enable_ip_pooling && host_port_proxy_pair.second.is_direct()) {
AddressList addresses;
- if (connection->socket()->GetPeerAddress(&addresses) == OK) {
- const addrinfo* address = addresses.head();
- AddAlias(address, host_port_proxy_pair);
- }
+ if (connection->socket()->GetPeerAddress(&addresses) == OK)
+ AddAlias(addresses.head(), host_port_proxy_pair);
}
// Now we can initialize the session with the SSL socket.
« no previous file with comments | « net/spdy/spdy_session_pool.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698