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

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

Issue 2463093003: Landing Recent QUIC changes until Sat Oct 29 14:59:35. (Closed)
Patch Set: add change to quiartc_session_test.cc Created 4 years, 1 month 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_multipath_received_packet_manager.cc ('k') | net/quic/quartc/quartc_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/core/quic_session.cc
diff --git a/net/quic/core/quic_session.cc b/net/quic/core/quic_session.cc
index 6c3add0cfefdb7fceabd0a8db168b7cba149e077..d90d92de768fbe469800bbb79c39c07cf7c23fd6 100644
--- a/net/quic/core/quic_session.cc
+++ b/net/quic/core/quic_session.cc
@@ -159,7 +159,7 @@ void QuicSession::OnWindowUpdateFrame(const QuicWindowUpdateFrame& frame) {
return;
}
ReliableQuicStream* stream = GetOrCreateStream(stream_id);
- if (stream) {
+ if (stream != nullptr) {
stream->OnWindowUpdateFrame(frame);
}
}
@@ -631,7 +631,8 @@ bool QuicSession::MaybeIncreaseLargestPeerStreamId(
size_t new_num_available_streams =
GetNumAvailableStreams() + additional_available_streams;
if (new_num_available_streams > MaxAvailableStreams()) {
- DVLOG(1) << "Failed to create a new incoming stream with id:" << stream_id
+ DVLOG(1) << ENDPOINT
+ << "Failed to create a new incoming stream with id:" << stream_id
<< ". There are already " << GetNumAvailableStreams()
<< " streams available, which would become "
<< new_num_available_streams << ", which exceeds the limit "
« no previous file with comments | « net/quic/core/quic_multipath_received_packet_manager.cc ('k') | net/quic/quartc/quartc_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698