]> 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:04:00 +0000 (08:04 -0400)
committerMichael R Sweet <msweet@msweet.org>
Wed, 21 May 2025 12:04:00 +0000 (08:04 -0400)
cups/http.c

index ee641e7cedc750b685ea17264784dc3985b049c1..671d831cc8ac72a87e343bca60816686350acaa5 100644 (file)
@@ -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;