summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-21 09:52:03 +0000
committerrch@chromium.org <rch@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-21 09:52:03 +0000
commitd6846d18a99d60d953f32608745b05aa8d46675c (patch)
tree1acaf92f516454f64a873222b7ffefdf83af38ec /net
parentc422f0732c8eae795f85af21950a2aedc2cdb3a7 (diff)
downloadchromium_src-d6846d18a99d60d953f32608745b05aa8d46675c.zip
chromium_src-d6846d18a99d60d953f32608745b05aa8d46675c.tar.gz
chromium_src-d6846d18a99d60d953f32608745b05aa8d46675c.tar.bz2
Pretty-print QUIC CONNECTION_CLOSE and RST_STREAM error codes.
Review URL: https://chromiumcodereview.appspot.com/17333003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207773 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/quic/quic_connection_logger.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/quic/quic_connection_logger.cc b/net/quic/quic_connection_logger.cc
index df3d6ac..9521588 100644
--- a/net/quic/quic_connection_logger.cc
+++ b/net/quic/quic_connection_logger.cc
@@ -114,7 +114,7 @@ base::Value* NetLogQuicRstStreamFrameCallback(
NetLog::LogLevel /* log_level */) {
base::DictionaryValue* dict = new base::DictionaryValue();
dict->SetInteger("stream_id", frame->stream_id);
- dict->SetInteger("error_code", frame->error_code);
+ dict->SetInteger("quic_rst_stream_error", frame->error_code);
dict->SetString("details", frame->error_details);
return dict;
}
@@ -123,7 +123,7 @@ base::Value* NetLogQuicConnectionCloseFrameCallback(
const QuicConnectionCloseFrame* frame,
NetLog::LogLevel /* log_level */) {
base::DictionaryValue* dict = new base::DictionaryValue();
- dict->SetInteger("error_code", frame->error_code);
+ dict->SetInteger("quic_error", frame->error_code);
dict->SetString("details", frame->error_details);
return dict;
}