| Index: net/quic/quic_connection.cc
|
| diff --git a/net/quic/quic_connection.cc b/net/quic/quic_connection.cc
|
| index b676fc2f4dd1f4345c13e43bb06ba2886da8f243..f222a1f5a49c1301636207bb0709ca7a7ae3ac63 100644
|
| --- a/net/quic/quic_connection.cc
|
| +++ b/net/quic/quic_connection.cc
|
| @@ -1103,8 +1103,7 @@ void QuicConnection::SendVersionNegotiationPacket() {
|
| self_address().address(), peer_address());
|
|
|
| if (result.status == WRITE_STATUS_ERROR) {
|
| - // We can't send an error as the socket is presumably borked.
|
| - CloseConnection(QUIC_PACKET_WRITE_ERROR, false);
|
| + OnWriteError(result.error_code);
|
| return;
|
| }
|
| if (result.status == WRITE_STATUS_BLOCKED) {
|
|
|