| 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,
|
|
|