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

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

Issue 2692813002: Server push cancellation: add a finch trial parameter (Closed)
Patch Set: sync with internal code 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_session.h ('k') | net/tools/quic/quic_dispatcher.h » ('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 36e41c46c04285351544b9599a4da2b1d8db8676..4c6f616ba30ea4f7906b33d908a76331526db919 100644
--- a/net/quic/core/quic_session.cc
+++ b/net/quic/core/quic_session.cc
@@ -95,6 +95,9 @@ void QuicSession::OnRstStream(const QuicRstStreamFrame& frame) {
return;
}
+ if (visitor_)
+ visitor_->OnRstStreamReceived(frame);
Ryan Hamilton 2017/02/22 23:12:33 I think this should have {}s since it's shared cod
Zhongyi Shi 2017/02/23 00:19:46 Sync'ed after the internal code landed. BTW, I not
Ryan Hamilton 2017/02/23 00:27:00 No... (Though we might want to do that at some poi
+
QuicStream* stream = GetOrCreateDynamicStream(frame.stream_id);
if (!stream) {
HandleRstOnValidNonexistentStream(frame);
« no previous file with comments | « net/quic/core/quic_session.h ('k') | net/tools/quic/quic_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698