| Index: net/http/http_proxy_client_socket.cc
|
| ===================================================================
|
| --- net/http/http_proxy_client_socket.cc (revision 86260)
|
| +++ net/http/http_proxy_client_socket.cc (working copy)
|
| @@ -56,6 +56,7 @@
|
| if (!user_agent.empty())
|
| request_.extra_headers.SetHeader(HttpRequestHeaders::kUserAgent,
|
| user_agent);
|
| + rtt_ms_ = transport_->socket()->GetRTTMs();
|
| }
|
|
|
| HttpProxyClientSocket::~HttpProxyClientSocket() {
|
| @@ -182,7 +183,9 @@
|
| return ERR_TUNNEL_CONNECTION_FAILED;
|
| }
|
|
|
| - return transport_->socket()->Read(buf, buf_len, callback);
|
| + int num = transport_->socket()->Read(buf, buf_len, callback);
|
| + num_bytes_read_ += num;
|
| + return num;
|
| }
|
|
|
| int HttpProxyClientSocket::Write(IOBuffer* buf, int buf_len,
|
|
|