| Index: net/quic/quic_connection.cc
|
| diff --git a/net/quic/quic_connection.cc b/net/quic/quic_connection.cc
|
| index cefd37b81a1b3739e0b1b1bec12d5c8b5bc705a5..c94e2f68fc08d601a6849a7b2800aed22372ffb5 100644
|
| --- a/net/quic/quic_connection.cc
|
| +++ b/net/quic/quic_connection.cc
|
| @@ -246,6 +246,7 @@ QuicConnection::QuicConnection(QuicConnectionId connection_id,
|
| helper->GetClock()->ApproximateNow(),
|
| perspective),
|
| helper_(helper),
|
| + per_packet_options_(nullptr),
|
| writer_(writer),
|
| owns_writer_(owns_writer),
|
| encryption_level_(ENCRYPTION_NONE),
|
| @@ -1132,9 +1133,9 @@ void QuicConnection::SendVersionNegotiationPacket() {
|
| scoped_ptr<QuicEncryptedPacket> version_packet(
|
| packet_generator_.SerializeVersionNegotiationPacket(
|
| framer_.supported_versions()));
|
| - WriteResult result =
|
| - writer_->WritePacket(version_packet->data(), version_packet->length(),
|
| - self_address().address().bytes(), peer_address());
|
| + WriteResult result = writer_->WritePacket(
|
| + version_packet->data(), version_packet->length(),
|
| + self_address().address().bytes(), peer_address(), per_packet_options_);
|
|
|
| if (result.status == WRITE_STATUS_ERROR) {
|
| OnWriteError(result.error_code);
|
| @@ -1656,9 +1657,9 @@ bool QuicConnection::WritePacketInner(SerializedPacket* packet) {
|
| // min_rtt_, especially in cases where the thread blocks or gets swapped out
|
| // during the WritePacket below.
|
| QuicTime packet_send_time = clock_->Now();
|
| - WriteResult result =
|
| - writer_->WritePacket(encrypted->data(), encrypted->length(),
|
| - self_address().address().bytes(), peer_address());
|
| + WriteResult result = writer_->WritePacket(
|
| + encrypted->data(), encrypted->length(), self_address().address().bytes(),
|
| + peer_address(), per_packet_options_);
|
| if (result.error_code == ERR_IO_PENDING) {
|
| DCHECK_EQ(WRITE_STATUS_BLOCKED, result.status);
|
| }
|
|
|