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

Unified Diff: net/quic/core/quic_stream.cc

Issue 2702383002: More improvements to logs. (Closed)
Patch Set: Created 3 years, 10 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 | « net/quic/core/quic_flow_controller.cc ('k') | net/tools/quic/quic_simple_server_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_stream.cc
diff --git a/net/quic/core/quic_stream.cc b/net/quic/core/quic_stream.cc
index d79d29c12d0833eadcac3b988500dcb48548a5a2..13df51088ca09ca47b93bdad0a3cfb9006dff638 100644
--- a/net/quic/core/quic_stream.cc
+++ b/net/quic/core/quic_stream.cc
@@ -275,8 +275,8 @@ QuicConsumedData QuicStream::WritevData(
bool fin,
QuicReferenceCountedPointer<QuicAckListenerInterface> ack_listener) {
if (write_side_closed_) {
- QUIC_DLOG(ERROR) << ENDPOINT
- << "Attempt to write when the write side is closed";
+ QUIC_DLOG(ERROR) << ENDPOINT << "Stream " << id()
+ << "attempting to write when the write side is closed";
return QuicConsumedData(0, false);
}
@@ -373,7 +373,7 @@ void QuicStream::CloseReadSide() {
sequencer_.ReleaseBuffer();
if (write_side_closed_) {
- QUIC_DLOG(INFO) << ENDPOINT << "Closing stream: " << id();
+ QUIC_DLOG(INFO) << ENDPOINT << "Closing stream " << id();
session_->CloseStream(id());
}
}
@@ -386,7 +386,7 @@ void QuicStream::CloseWriteSide() {
write_side_closed_ = true;
if (read_side_closed_) {
- QUIC_DLOG(INFO) << ENDPOINT << "Closing stream: " << id();
+ QUIC_DLOG(INFO) << ENDPOINT << "Closing stream " << id();
session_->CloseStream(id());
}
}
« no previous file with comments | « net/quic/core/quic_flow_controller.cc ('k') | net/tools/quic/quic_simple_server_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698