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

Unified Diff: net/tools/quic/quic_server_session.cc

Issue 1343093003: Landing Recent QUIC changes until 9/2/2015 17:00 UTC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with TOT Created 5 years, 3 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/tools/quic/quic_client_test.cc ('k') | net/tools/quic/quic_socket_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/quic/quic_server_session.cc
diff --git a/net/tools/quic/quic_server_session.cc b/net/tools/quic/quic_server_session.cc
index 20790e3217f3906a388ea4ad487100ab4d7ad155..cca2bb8d9ca75baf1033996f79f2c370e83d0733 100644
--- a/net/tools/quic/quic_server_session.cc
+++ b/net/tools/quic/quic_server_session.cc
@@ -193,15 +193,6 @@ bool QuicServerSession::ShouldCreateIncomingDynamicStream(QuicStreamId id) {
connection()->SendConnectionClose(QUIC_INVALID_STREAM_ID);
return false;
}
- if (!FLAGS_exact_stream_id_delta) {
- if (GetNumOpenStreams() >= get_max_open_streams()) {
- DVLOG(1) << "Failed to create a new incoming stream with id:" << id
- << " Already " << GetNumOpenStreams() << " streams open (max "
- << get_max_open_streams() << ").";
- connection()->SendConnectionClose(QUIC_TOO_MANY_OPEN_STREAMS);
- return false;
- }
- }
return true;
}
« no previous file with comments | « net/tools/quic/quic_client_test.cc ('k') | net/tools/quic/quic_socket_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698