Chromium Code Reviews
DescriptionImprove NetLog HTTP/2 event names.
s/HTTP2_SESSION_RST_STREAM/HTTP2_SESSION_RECV_RST_STREAM/ to make it obvious
that a frame is received. Sending event is already called _SEND_RST_STREAM.
Split NetLogSpdyRstCallback() into NetLogSpdyRecvRstStreamCallback() and
NetLogSpdySendRstStreamCallback(), and remove |description| argument from
NetLogSpdyRecvRstStreamCallback(). (This is leftover from earlier SPDY versions
that allowed RST_STREAM fields to carry a description. HTTP/2 does not allow
this, and NetLogSpdyRstCallback() was always called with an empty description
when a RST_STREAM frame was received.)
Similarily, s/HTTP2_SESSION_GOAWAY/HTTP2_SESSION_RECV_GOAWAY/. Note that there
is no HTTP2_SESSION_SEND_GOAWAY: instead a HTTP2_SESSION_CLOSE is logged.
Since there were already five HTTP2_SESSION_RECV_ events and this CL adds two
more, also change _RECEIVED_ to _RECV_ in HTTP2_SESSION_RECEIVED_WINDOW_UPDATE_FRAME.
Since there were already four HTTP2_SESSION_SEND_ events, also change _SENT_ to
_SEND_ in HTTP2_SESSION_SENT_WINDOW_UPDATE_FRAME.
Since there are event names for HEADERS, SETTINGS, RST_STREAM, PING, GOAWAY,
DATA, and PUSH_PROMISE frames without _FRAME suffix, also remove such suffix from
HTTP2_SESSION_RECV_WINDOW_UPDATE_FRAME and HTTP2_SESSION_SEND_WINDOW_UPDATE_FRAME.
Review-Url: https://codereview.chromium.org/2675723003
Cr-Commit-Position: refs/heads/master@{#448038}
Committed: https://chromium.googlesource.com/chromium/src/+/d8d7e0da939d5a60057549c99b2bcee3b9eb28db
Patch Set 1 #
Total comments: 2
Patch Set 2 : Change some more event names. #Patch Set 3 : Rebase. #
Messages
Total messages: 28 (19 generated)
|
|||||||||||||||||||||||||||||||||||||