summaryrefslogtreecommitdiffstats
path: root/net/quic/quic_stream_factory.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/quic/quic_stream_factory.cc')
-rw-r--r--net/quic/quic_stream_factory.cc10
1 files changed, 7 insertions, 3 deletions
diff --git a/net/quic/quic_stream_factory.cc b/net/quic/quic_stream_factory.cc
index c399456..503e549 100644
--- a/net/quic/quic_stream_factory.cc
+++ b/net/quic/quic_stream_factory.cc
@@ -833,9 +833,13 @@ int QuicStreamFactory::CreateSession(
clock_.get(), random_generator_));
}
- QuicConnection* connection =
- new QuicConnection(connection_id, addr, helper_.get(), writer.get(),
- false, supported_versions_);
+ QuicConnection* connection = new QuicConnection(connection_id,
+ addr,
+ helper_.get(),
+ writer.get(),
+ false /* owns_writer */,
+ false /* is_server */,
+ supported_versions_);
writer->SetConnection(connection);
connection->set_max_packet_length(max_packet_length_);