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

Unified Diff: net/quic/quic_headers_stream.cc

Issue 822713002: Update from https://crrev.com/309415 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years 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_headers_stream.cc
diff --git a/net/quic/quic_headers_stream.cc b/net/quic/quic_headers_stream.cc
index 9d26e4aa301b994695ef4eb77ba33fa4ee534d21..e8c8b5866abbac8cc9a82726af62260539310733 100644
--- a/net/quic/quic_headers_stream.cc
+++ b/net/quic/quic_headers_stream.cc
@@ -4,6 +4,7 @@
#include "net/quic/quic_headers_stream.h"
+#include "base/strings/stringprintf.h"
#include "net/quic/quic_session.h"
using base::StringPiece;
@@ -81,7 +82,9 @@ class QuicHeadersStream::SpdyFramerVisitor
}
void OnError(SpdyFramer* framer) override {
- CloseConnection("SPDY framing error.");
+ CloseConnection(base::StringPrintf(
+ "SPDY framing error: %s",
+ SpdyFramer::ErrorCodeToString(framer->error_code())));
}
void OnDataFrameHeader(SpdyStreamId stream_id,

Powered by Google App Engine
This is Rietveld 408576698