From: Michael R Sweet Date: Wed, 21 May 2025 12:04:00 +0000 (-0400) Subject: Roll back a very old change to complete the freeze fix (Issue #1264) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad4d0be75ac01bfa5aed21202ebe56593ce3d391;p=thirdparty%2Fcups.git Roll back a very old change to complete the freeze fix (Issue #1264) --- diff --git a/cups/http.c b/cups/http.c index ee641e7ced..671d831cc8 100644 --- a/cups/http.c +++ b/cups/http.c @@ -4702,7 +4702,7 @@ http_write(http_t *http, // I - HTTP connection http->error = WSAGetLastError(); } - else if (WSAGetLastError() != http->error && WSAGetLastError() != WSAECONNRESET) + else if (WSAGetLastError() != http->error) { http->error = WSAGetLastError(); continue; @@ -4722,7 +4722,7 @@ http_write(http_t *http, // I - HTTP connection http->error = errno; } - else if (errno != http->error && errno != ECONNRESET) + else if (errno != http->error) { http->error = errno; continue;