| Index: net/quic/quic_dispatcher.cc
|
| diff --git a/net/quic/quic_dispatcher.cc b/net/quic/quic_dispatcher.cc
|
| index 09d34a069d39fabaff718bf15fa0b393ed12e9c4..f26f6ab38aff64f052255aadfb3cecdb3794bb60 100644
|
| --- a/net/quic/quic_dispatcher.cc
|
| +++ b/net/quic/quic_dispatcher.cc
|
| @@ -170,7 +170,9 @@ QuicDispatcher::QuicDispatcher(const QuicConfig& config,
|
| connection_writer_factory_(this),
|
| supported_versions_(supported_versions),
|
| current_packet_(nullptr),
|
| - framer_(supported_versions, /*unused*/ QuicTime::Zero(), true),
|
| + framer_(supported_versions,
|
| + /*unused*/ QuicTime::Zero(),
|
| + Perspective::IS_SERVER),
|
| framer_visitor_(new QuicFramerVisitor(this)) {
|
| framer_.set_visitor(framer_visitor_.get());
|
| }
|
| @@ -392,7 +394,7 @@ QuicSession* QuicDispatcher::CreateQuicSession(
|
| // The QuicSession takes ownership of |connection| below.
|
| QuicConnection* connection = new QuicConnection(
|
| connection_id, client_address, helper_, connection_writer_factory_,
|
| - /* owns_writer= */ true, /* is_server= */ true,
|
| + /* owns_writer= */ true, Perspective::IS_SERVER,
|
| crypto_config_.HasProofSource(), supported_versions_);
|
|
|
| QuicServerSession* session = new QuicServerSession(config_, connection, this);
|
|
|