|
Allow number of open QUIC streams to grow 10% beyond configured limit at
the QUIC internal server before closing connection.
In the following situation Chrome may open more streams than the
configured limit:
* opens kMaxStreams streams
* sends a FIN for one of the streams, now has kMaxStreams-1 streams open
* opens a new stream
* FIN gets lost on way to QUIC internal server
* QUIC internal server terminates connection when new stream packet
arrives
Rather than making Chrome keep track of when the server has acknowledged
a FIN, just give 10% breathing room which should avoid this case.
Merge internal change: 75393293
R=rch@chromium.org, rjshade@chromium.org
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+90 lines, -21 lines) |
Patch |
 |
M |
net/quic/quic_config.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
net/quic/quic_flags.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
net/quic/quic_flags.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/quic/quic_protocol.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
net/quic/quic_server_session.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/quic/quic_session.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
net/quic/quic_session.cc
|
View
|
|
3 chunks |
+17 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/tools/quic/quic_server_session.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
net/tools/quic/quic_server_session_test.cc
|
View
|
|
2 chunks |
+55 lines, -13 lines |
0 comments
|
Download
|
Total messages: 2 (0 generated)
|