| Index: net/quic/quic_session.cc
|
| diff --git a/net/quic/quic_session.cc b/net/quic/quic_session.cc
|
| index 2ebd2b7f5d1d2f1abf3ba093267e656bc4003cb1..b31224392ad8d433d0a2c0f75b3bdcfafd298e6d 100644
|
| --- a/net/quic/quic_session.cc
|
| +++ b/net/quic/quic_session.cc
|
| @@ -104,7 +104,7 @@ QuicSession::QuicSession(QuicConnection* connection, const QuicConfig& config)
|
| visitor_shim_(new VisitorShim(this)),
|
| config_(config),
|
| max_open_streams_(config_.max_streams_per_connection()),
|
| - next_stream_id_(is_server() ? 2 : 3),
|
| + next_stream_id_(is_server() ? 2 : 5),
|
| largest_peer_created_stream_id_(0),
|
| error_(QUIC_NO_ERROR),
|
| goaway_received_(false),
|
| @@ -131,12 +131,6 @@ void QuicSession::InitializeSession() {
|
| config_.max_time_before_crypto_handshake());
|
| }
|
| headers_stream_.reset(new QuicHeadersStream(this));
|
| - if (!is_server()) {
|
| - // For version above QUIC v12, the headers stream is stream 3, so the
|
| - // next available local stream ID should be 5.
|
| - DCHECK_EQ(kHeadersStreamId, next_stream_id_);
|
| - next_stream_id_ += 2;
|
| - }
|
| }
|
|
|
| QuicSession::~QuicSession() {
|
|
|