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

Unified Diff: net/quic/quic_http_stream.cc

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/quic/quic_http_stream.cc
diff --git a/net/quic/quic_http_stream.cc b/net/quic/quic_http_stream.cc
index 3c77fdc79bf400c2c89bc3106459257cb29f1ec3..58e2282573c46d4f4bc24452c0835210e86c0dec 100644
--- a/net/quic/quic_http_stream.cc
+++ b/net/quic/quic_http_stream.cc
@@ -12,6 +12,7 @@
#include "net/base/load_flags.h"
#include "net/base/net_errors.h"
#include "net/http/http_response_headers.h"
+#include "net/http/http_response_info.h"
#include "net/http/http_util.h"
#include "net/quic/quic_chromium_client_session.h"
#include "net/quic/quic_chromium_client_stream.h"
@@ -467,7 +468,8 @@ Error QuicHttpStream::GetSignedEKMForTokenBinding(crypto::ECPrivateKey* key,
return session_->GetTokenBindingSignature(key, out);
}
-void QuicHttpStream::Drain(HttpNetworkSession* session) {
+void QuicHttpStream::Drain(HttpNetworkSession* session,
+ scoped_ptr<HttpResponseInfo> response_info) {
NOTREACHED();
Close(false);
delete this;

Powered by Google App Engine
This is Rietveld 408576698