From: Michael R Sweet Date: Wed, 21 May 2025 12:03:35 +0000 (-0400) Subject: Roll back a very old change to complete the freeze fix (Issue #1264) X-Git-Tag: v2.4.13~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=87fc12803b7177fc18ae61ec0c12b493db404045;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 889760fd29..d31bc76b09 100644 --- a/cups/http.c +++ b/cups/http.c @@ -1,7 +1,7 @@ /* * HTTP routines for CUPS. * - * Copyright © 2022-2024 by OpenPrinting. + * Copyright © 2022-2025 by OpenPrinting. * Copyright © 2007-2021 by Apple Inc. * Copyright © 1997-2007 by Easy Software Products, all rights reserved. * @@ -4808,8 +4808,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; @@ -4827,7 +4826,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;