| Index: net/quic/quic_headers_stream.cc
|
| diff --git a/net/quic/quic_headers_stream.cc b/net/quic/quic_headers_stream.cc
|
| index aab8571553d2bf4ea5525fb8465723de28907260..92f24f45b0145b83fb033a99986db236f5b635a5 100644
|
| --- a/net/quic/quic_headers_stream.cc
|
| +++ b/net/quic/quic_headers_stream.cc
|
| @@ -174,7 +174,13 @@ QuicHeadersStream::QuicHeadersStream(QuicSession* session)
|
| spdy_framer_visitor_(new SpdyFramerVisitor(this)) {
|
| spdy_framer_.set_visitor(spdy_framer_visitor_.get());
|
| spdy_framer_.set_debug_visitor(spdy_framer_visitor_.get());
|
| - DisableFlowControl();
|
| + if (version() <= QUIC_VERSION_20) {
|
| + // Prior to QUIC_VERSION_21 the headers stream is not subject to any flow
|
| + // control.
|
| + DisableFlowControl();
|
| + }
|
| + // The headers stream is exempt from connection level flow control.
|
| + DisableConnectionFlowControlForThisStream();
|
| }
|
|
|
| QuicHeadersStream::~QuicHeadersStream() {}
|
|
|