Skip to content

Commit ad4d0be

Browse files
committed
Roll back a very old change to complete the freeze fix (Issue #1264)
1 parent 7e68fcb commit ad4d0be

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cups/http.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4702,7 +4702,7 @@ http_write(http_t *http, // I - HTTP connection
47024702

47034703
http->error = WSAGetLastError();
47044704
}
4705-
else if (WSAGetLastError() != http->error && WSAGetLastError() != WSAECONNRESET)
4705+
else if (WSAGetLastError() != http->error)
47064706
{
47074707
http->error = WSAGetLastError();
47084708
continue;
@@ -4722,7 +4722,7 @@ http_write(http_t *http, // I - HTTP connection
47224722

47234723
http->error = errno;
47244724
}
4725-
else if (errno != http->error && errno != ECONNRESET)
4725+
else if (errno != http->error)
47264726
{
47274727
http->error = errno;
47284728
continue;

0 commit comments

Comments
 (0)