Skip to content

Commit 87fc128

Browse files
committed
Roll back a very old change to complete the freeze fix (Issue #1264)
1 parent f0c25a5 commit 87fc128

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

cups/http.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* HTTP routines for CUPS.
33
*
4-
* Copyright © 2022-2024 by OpenPrinting.
4+
* Copyright © 2022-2025 by OpenPrinting.
55
* Copyright © 2007-2021 by Apple Inc.
66
* Copyright © 1997-2007 by Easy Software Products, all rights reserved.
77
*
@@ -4808,8 +4808,7 @@ http_write(http_t *http, /* I - HTTP connection */
48084808

48094809
http->error = WSAGetLastError();
48104810
}
4811-
else if (WSAGetLastError() != http->error &&
4812-
WSAGetLastError() != WSAECONNRESET)
4811+
else if (WSAGetLastError() != http->error)
48134812
{
48144813
http->error = WSAGetLastError();
48154814
continue;
@@ -4827,7 +4826,7 @@ http_write(http_t *http, /* I - HTTP connection */
48274826

48284827
http->error = errno;
48294828
}
4830-
else if (errno != http->error && errno != ECONNRESET)
4829+
else if (errno != http->error)
48314830
{
48324831
http->error = errno;
48334832
continue;

0 commit comments

Comments
 (0)