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

Unified Diff: net/spdy/spdy_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/spdy/spdy_http_stream.cc
diff --git a/net/spdy/spdy_http_stream.cc b/net/spdy/spdy_http_stream.cc
index 4fdbc0e918eda89cfda4b3830308502252932bfb..c6975ab6df361cae5512fbcd4cf04caf54671d80 100644
--- a/net/spdy/spdy_http_stream.cc
+++ b/net/spdy/spdy_http_stream.cc
@@ -574,7 +574,8 @@ Error SpdyHttpStream::GetSignedEKMForTokenBinding(crypto::ECPrivateKey* key,
return spdy_session_->GetSignedEKMForTokenBinding(key, out);
}
-void SpdyHttpStream::Drain(HttpNetworkSession* session) {
+void SpdyHttpStream::Drain(HttpNetworkSession* session,
+ scoped_ptr<HttpResponseInfo> response_info) {
NOTREACHED();
Close(false);
delete this;

Powered by Google App Engine
This is Rietveld 408576698