From 87fc12803b7177fc18ae61ec0c12b493db404045 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Wed, 21 May 2025 08:03:35 -0400 Subject: [PATCH] Roll back a very old change to complete the freeze fix (Issue #1264) --- cups/http.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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; -- 2.47.2