File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 ;
You can’t perform that action at this time.
0 commit comments