Commit 70e119ff authored by Bence Béky's avatar Bence Béky Committed by Commit Bot

Log HTTP2_SESSION_SEND_DATA with session, not stream.

When moving HTTP2_SESSION_SEND_DATA from SpdySession to SpdyStream at
https://crrev.com/c/2309350, I incorrectly changed the event source.
This CL fixes it, so that HTTP2_SESSION_SEND_DATA will show up in the
HTTP2_SESSION together with HTTP2_SESSION_SEND_HEADERS and
HTTP2_SESSION_SEND_GREASED_FRAME.

Bug: 1106652
Change-Id: I1ae2776326ac0f680dc4162cea509d779cb09b33
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2327184
Commit-Queue: Renjie Tang <renjietang@chromium.org>
Reviewed-by: default avatarRenjie Tang <renjietang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#793153}
parent 4515f2e4
......@@ -891,7 +891,7 @@ void SpdyStream::QueueNextDataFrame() {
session_->EnqueueGreasedFrame(GetWeakPtr());
}
net_log_.AddEvent(NetLogEventType::HTTP2_SESSION_SEND_DATA, [&] {
session_->net_log().AddEvent(NetLogEventType::HTTP2_SESSION_SEND_DATA, [&] {
return NetLogSpdyDataParams(stream_id_, effective_len, end_stream);
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment