]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Roll back a very old change to complete the freeze fix (Issue #1264)
authorMichael R Sweet <msweet@msweet.org>
Wed, 21 May 2025 12:03:35 +0000 (08:03 -0400)
committerMichael R Sweet <msweet@msweet.org>
Wed, 21 May 2025 12:03:35 +0000 (08:03 -0400)
cups/http.c

index 889760fd291697217a61a3486f8a28e48a1e6301..d31bc76b09f83ef8fe10d797e7305a6f1132fbf7 100644 (file)
@@ -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;