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

Unified Diff: net/base/net_log_event_type_list.h

Issue 338933003: Log QuicGoAwayFrames and QuicPingFrames, sent and received, in net log. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Documented GOAWAY fields Created 6 years, 6 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
« no previous file with comments | « no previous file | net/quic/quic_connection.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_log_event_type_list.h
diff --git a/net/base/net_log_event_type_list.h b/net/base/net_log_event_type_list.h
index a26b9702360b440da71ef7fbd3dac727e7d5b706..c58aa94c6c95ce0da2da7622216849d6fbfc16d2 100644
--- a/net/base/net_log_event_type_list.h
+++ b/net/base/net_log_event_type_list.h
@@ -1460,6 +1460,28 @@ EVENT_TYPE(QUIC_SESSION_BLOCKED_FRAME_RECEIVED)
// }
EVENT_TYPE(QUIC_SESSION_BLOCKED_FRAME_SENT)
+// Session received a GOAWAY frame.
+// {
+// "quic_error": <QuicErrorCode in the frame>,
+// "last_good_stream_id": <Last correctly received stream id by the server>,
+// "reason_phrase": <Prose justifying go-away request>,
+// }
+EVENT_TYPE(QUIC_SESSION_GOAWAY_FRAME_RECEIVED)
+
+// Session sent a GOAWAY frame.
+// {
+// "quic_error": <QuicErrorCode in the frame>,
+// "last_good_stream_id": <Last correctly received stream id by the server>,
+// "reason_phrase": <Prose justifying go-away request>,
+// }
+EVENT_TYPE(QUIC_SESSION_GOAWAY_FRAME_SENT)
+
+// Session received a PING frame.
+EVENT_TYPE(QUIC_SESSION_PING_FRAME_RECEIVED)
+
+// Session sent a PING frame.
+EVENT_TYPE(QUIC_SESSION_PING_FRAME_SENT)
+
// Session received a STOP_WAITING frame.
// {
// "sent_info": <Details of packet sent by the peer>
« no previous file with comments | « no previous file | net/quic/quic_connection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698