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

Issue 2675723003: Improve NetLog HTTP/2 event names. (Closed)

Created:
3 years, 10 months ago by Bence
Modified:
3 years, 10 months ago
Reviewers:
mgersh, eroman
CC:
chromium-reviews, net-reviews_chromium.org, cbentzel+watch_chromium.org, bnc+watch_chromium.org, mmenke, eroman
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Improve 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. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -19 lines) Patch
M net/log/net_log_event_type_list.h View 1 3 chunks +4 lines, -4 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 2 7 chunks +21 lines, -12 lines 0 comments Download
M net/spdy/spdy_session_unittest.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 28 (19 generated)
Bence
mgersh: Would you like to do a first pass review if you have free cycles? ...
3 years, 10 months ago (2017-02-03 01:57:31 UTC) #6
eroman
lgtm https://codereview.chromium.org/2675723003/diff/1/net/log/net_log_event_type_list.h File net/log/net_log_event_type_list.h (right): https://codereview.chromium.org/2675723003/diff/1/net/log/net_log_event_type_list.h#newcode1409 net/log/net_log_event_type_list.h:1409: EVENT_TYPE(HTTP2_SESSION_RECEIVED_WINDOW_UPDATE_FRAME) If you are normalizing on "RECV_" then ...
3 years, 10 months ago (2017-02-03 02:02:10 UTC) #8
Bence
PTAL. https://codereview.chromium.org/2675723003/diff/1/net/log/net_log_event_type_list.h File net/log/net_log_event_type_list.h (right): https://codereview.chromium.org/2675723003/diff/1/net/log/net_log_event_type_list.h#newcode1409 net/log/net_log_event_type_list.h:1409: EVENT_TYPE(HTTP2_SESSION_RECEIVED_WINDOW_UPDATE_FRAME) On 2017/02/03 02:02:09, eroman (slow) wrote: > ...
3 years, 10 months ago (2017-02-03 15:09:44 UTC) #15
mgersh
lgtm
3 years, 10 months ago (2017-02-03 15:50:18 UTC) #16
Bence
On 2017/02/03 15:50:18, mgersh wrote: > lgtm Thank you. Since Eric l-g-t-m'ed earlier (with nits), ...
3 years, 10 months ago (2017-02-03 16:18:28 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2675723003/40001
3 years, 10 months ago (2017-02-03 16:18:57 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/356322)
3 years, 10 months ago (2017-02-03 16:24:55 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2675723003/60001
3 years, 10 months ago (2017-02-03 18:12:09 UTC) #25
commit-bot: I haz the power
3 years, 10 months ago (2017-02-03 19:20:35 UTC) #28
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/d8d7e0da939d5a60057549c99b2b...

Powered by Google App Engine
This is Rietveld 408576698