From 3deb9a51f053fd3ddb81222c0a95108ef15630bf Mon Sep 17 00:00:00 2001 From: "rch@chromium.org" Date: Thu, 11 Nov 2010 00:24:40 +0000 Subject: Change the way request headers are logged to the NetLog to ensure that the complete request is logged, not just the extra_headers. Before I broke things, HttpNetworkTransaction was attempting to do the logging, but after some refactors it no longer has access to the final request. SpdySession already logs correctly in the SPDY case, and I modified HttpBasicStream to log in the HTTP case. Added unit tests is both HttpNetworkTransactionTest and SpdyNetworkTransactionTest. BUG=48962 TEST=net_unittests --gtest_filter=HttpNetworkTransactionTest.SimpleGET\* Review URL: http://codereview.chromium.org/4644003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65736 0039d316-1c4b-4281-b951-d872f2087c98 --- net/http/http_proxy_client_socket.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'net/http/http_proxy_client_socket.h') diff --git a/net/http/http_proxy_client_socket.h b/net/http/http_proxy_client_socket.h index b42c78b..e11e731 100644 --- a/net/http/http_proxy_client_socket.h +++ b/net/http/http_proxy_client_socket.h @@ -156,7 +156,8 @@ class HttpProxyClientSocket : public ClientSocket { // If true, then the connection to the proxy is a SPDY connection. const bool using_spdy_; - std::string request_headers_; + std::string request_line_; + HttpRequestHeaders request_headers_; const BoundNetLog net_log_; -- cgit v1.1