summaryrefslogtreecommitdiff
path: root/chromium/net/tools/quic/quic_simple_server.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2021-10-26 13:57:00 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2021-11-02 11:31:01 +0000
commit1943b3c2a1dcee36c233724fc4ee7613d71b9cf6 (patch)
tree8c1b5f12357025c197da5427ae02cfdc2f3570d6 /chromium/net/tools/quic/quic_simple_server.cc
parent21ba0c5d4bf8fba15dddd97cd693bad2358b77fd (diff)
downloadqtwebengine-chromium-1943b3c2a1dcee36c233724fc4ee7613d71b9cf6.tar.gz
BASELINE: Update Chromium to 94.0.4606.111
Change-Id: I924781584def20fc800bedf6ff41fdb96c438193 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/net/tools/quic/quic_simple_server.cc')
-rw-r--r--chromium/net/tools/quic/quic_simple_server.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/chromium/net/tools/quic/quic_simple_server.cc b/chromium/net/tools/quic/quic_simple_server.cc
index f50b948b067..06bfde583d8 100644
--- a/chromium/net/tools/quic/quic_simple_server.cc
+++ b/chromium/net/tools/quic/quic_simple_server.cc
@@ -192,7 +192,10 @@ void QuicSimpleServer::OnReadComplete(int result) {
// packet whose payload is larger than our receive buffer. Do not act on 0
// as that indicates that we received a UDP packet with an empty payload.
// In both cases, the socket should still be usable.
- if (result != ERR_MSG_TOO_BIG && result != 0) {
+ // Also do not act on ERR_CONNECTION_RESET as this is happening when the
+ // network service restarts on Windows.
+ if (result != ERR_MSG_TOO_BIG && result != ERR_CONNECTION_RESET &&
+ result != 0) {
Shutdown();
return;
}