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

Unified Diff: net/spdy/spdy_session.cc

Issue 2438863003: Fix the logging information in creating server push stream. (Closed)
Patch Set: and some more Created 4 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session.cc
diff --git a/net/spdy/spdy_session.cc b/net/spdy/spdy_session.cc
index 7a1cd5fad1ae114e9607a417b1cdf1aba3c8b470..616685d41f47d83e6db0c7e50858c6ef245fcd96 100644
--- a/net/spdy/spdy_session.cc
+++ b/net/spdy/spdy_session.cc
@@ -2465,14 +2465,15 @@ bool SpdySession::TryCreatePushStream(SpdyStreamId stream_id,
// Server-initiated streams must be associated with client-initiated streams.
if ((associated_stream_id & 0x1) != 1) {
- LOG(WARNING) << "Received invalid associated stream id " << stream_id;
+ LOG(WARNING) << "Received push stream id " << stream_id
+ << " with invalid associated stream id";
CloseSessionOnError(ERR_SPDY_PROTOCOL_ERROR, "Push on even stream id.");
return false;
}
if (stream_id <= last_accepted_push_stream_id_) {
- LOG(WARNING) << "Received push stream id lesser or equal to the last "
- << "accepted before " << stream_id;
+ LOG(WARNING) << "Received push stream id " << stream_id
+ << " lesser or equal to the last accepted before";
CloseSessionOnError(
ERR_SPDY_PROTOCOL_ERROR,
"New push stream id must be greater than the last accepted.");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698