Chromium Code Reviews| 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..78bbf92ec039ad596b3797d44be62cf970fbce78 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[0]); |
|
eroman
2012/05/04 01:08:41
[optional] nit: I seem to recall some places using
|
| std::string request = request_line + headers.ToString(); |
| request_body_.reset(request_body); |