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

Unified Diff: net/http/http_stream_parser.cc

Issue 10309002: Reimplements net::AddressList without struct addrinfo. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: get_canonical_name -> canonical_name. iterator to indexing Created 8 years, 7 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/http/http_network_transaction_spdy3_unittest.cc ('k') | net/proxy/proxy_resolver_js_bindings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_stream_parser.cc
diff --git a/net/http/http_stream_parser.cc b/net/http/http_stream_parser.cc
index 31c7b736866733ebeed960099e23d17a479fc03e..6c38db784471a08a60acfddb67c8cdf0e2225831 100644
--- a/net/http/http_stream_parser.cc
+++ b/net/http/http_stream_parser.cc
@@ -213,7 +213,7 @@ int HttpStreamParser::SendRequest(const std::string& request_line,
int result = connection_->socket()->GetPeerAddress(&address);
if (result != OK)
return result;
- response_->socket_address = HostPortPair::FromAddrInfo(address.head());
+ response_->socket_address = HostPortPair::FromIPEndPoint(address.front());
std::string request = request_line + headers.ToString();
request_body_.reset(request_body);
« no previous file with comments | « net/http/http_network_transaction_spdy3_unittest.cc ('k') | net/proxy/proxy_resolver_js_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698