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

Unified Diff: net/http/http_network_transaction.h

Issue 1884943003: HttpStreamParser: Don't reuse sockets which receive unparsed data. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix drainer test ('True' means closed...) Created 4 years, 8 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
Index: net/http/http_network_transaction.h
diff --git a/net/http/http_network_transaction.h b/net/http/http_network_transaction.h
index 43b2863db6704a66315cc7c58a38609b2563f4b4..5a0847dced2795f9778b1968f119a5141b29423f 100644
--- a/net/http/http_network_transaction.h
+++ b/net/http/http_network_transaction.h
@@ -19,7 +19,6 @@
#include "net/base/request_priority.h"
#include "net/http/http_auth.h"
#include "net/http/http_request_headers.h"
-#include "net/http/http_response_info.h"
#include "net/http/http_stream_factory.h"
#include "net/http/http_transaction.h"
#include "net/log/net_log.h"
@@ -40,6 +39,7 @@ class BidirectionalStreamImpl;
class ClientSocketHandle;
class HttpAuthController;
class HttpNetworkSession;
+class HttpResponseInfo;
class HttpStream;
class HttpStreamRequest;
class IOBuffer;
@@ -316,7 +316,7 @@ class NET_EXPORT_PRIVATE HttpNetworkTransaction
BoundNetLog net_log_;
const HttpRequestInfo* request_;
RequestPriority priority_;
- HttpResponseInfo response_;
+ scoped_ptr<HttpResponseInfo> response_;
// |proxy_info_| is the ProxyInfo used by the HttpStreamRequest.
ProxyInfo proxy_info_;

Powered by Google App Engine
This is Rietveld 408576698