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

Issue 1932853002: Log urls and headers in BIDIRECTIONAL_STREAM events (Closed)

Created:
4 years, 7 months ago by xunjieli
Modified:
4 years, 7 months ago
Reviewers:
mef
CC:
chromium-reviews, cbentzel+watch_chromium.org, mmenke
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Log urls and headers in BIDIRECTIONAL_STREAM events BIDIRECTIONAL_STREAM events do not have urls and headers in NetLog. This makes debugging hard. Headers are currently logged in HTTP2_SESSION and QUIC_SESSION, but the session events can have a bunch of requests going on, and it is hard to associate headers with each bidirectional stream. This CL logs urls and the headers sent and received in BIDIRECTIONAL_STREAM events. BUG=607613 Committed: https://crrev.com/d4c21ab215ec191359bd8bb3f85f1249e219845c Cr-Commit-Position: refs/heads/master@{#390518}

Patch Set 1 : #

Total comments: 18

Patch Set 2 : Address Misha's comments #

Total comments: 2

Patch Set 3 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+158 lines, -58 lines) Patch
M net/http/bidirectional_stream.cc View 1 8 chunks +59 lines, -8 lines 0 comments Download
M net/http/bidirectional_stream_unittest.cc View 1 2 7 chunks +45 lines, -17 lines 0 comments Download
M net/http/http_log_util.h View 1 2 chunks +10 lines, -0 lines 0 comments Download
M net/http/http_log_util.cc View 1 2 chunks +15 lines, -0 lines 0 comments Download
M net/log/net_log_event_type_list.h View 1 2 chunks +23 lines, -0 lines 0 comments Download
M net/quic/quic_chromium_client_session.cc View 1 1 chunk +1 line, -14 lines 0 comments Download
M net/spdy/spdy_session.cc View 1 6 chunks +5 lines, -19 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
xunjieli
Misha: PTAL. Thanks!
4 years, 7 months ago (2016-04-28 20:11:22 UTC) #3
mef
looks good, mostly nits. https://codereview.chromium.org/1932853002/diff/20001/net/http/bidirectional_stream.cc File net/http/bidirectional_stream.cc (right): https://codereview.chromium.org/1932853002/diff/20001/net/http/bidirectional_stream.cc#newcode35 net/http/bidirectional_stream.cc:35: const SpdyHeaderBlock* headers, #include "net/spdy/spdy_header_block.h" ...
4 years, 7 months ago (2016-04-28 20:43:18 UTC) #4
xunjieli
Thanks for the review! https://codereview.chromium.org/1932853002/diff/20001/net/http/bidirectional_stream.cc File net/http/bidirectional_stream.cc (right): https://codereview.chromium.org/1932853002/diff/20001/net/http/bidirectional_stream.cc#newcode35 net/http/bidirectional_stream.cc:35: const SpdyHeaderBlock* headers, On 2016/04/28 ...
4 years, 7 months ago (2016-04-28 21:06:16 UTC) #5
mef
lgtm https://codereview.chromium.org/1932853002/diff/40001/net/http/bidirectional_stream_unittest.cc File net/http/bidirectional_stream_unittest.cc (right): https://codereview.chromium.org/1932853002/diff/40001/net/http/bidirectional_stream_unittest.cc#newcode574 net/http/bidirectional_stream_unittest.cc:574: // Destroy the delegate will destroy the stream, ...
4 years, 7 months ago (2016-04-28 21:30:12 UTC) #6
xunjieli
Thanks! https://codereview.chromium.org/1932853002/diff/40001/net/http/bidirectional_stream_unittest.cc File net/http/bidirectional_stream_unittest.cc (right): https://codereview.chromium.org/1932853002/diff/40001/net/http/bidirectional_stream_unittest.cc#newcode574 net/http/bidirectional_stream_unittest.cc:574: // Destroy the delegate will destroy the stream, ...
4 years, 7 months ago (2016-04-28 21:33:36 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1932853002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1932853002/60001
4 years, 7 months ago (2016-04-28 21:34:20 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 7 months ago (2016-04-28 22:44:56 UTC) #11
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:22:19 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d4c21ab215ec191359bd8bb3f85f1249e219845c
Cr-Commit-Position: refs/heads/master@{#390518}

Powered by Google App Engine
This is Rietveld 408576698