diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2023-10-27 00:25:32 +0000 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2023-10-27 08:03:39 +0000 |
commit | ae8afd251f08aa6ce99daf430c411dda178327c6 (patch) | |
tree | cee62d1c5b9b359b1c771dbdd3426d2eea42c733 /WWW | |
parent | 6648ccd05b432cb624499b899aa3d8c7e3fd1f18 (diff) | |
download | lynx-snapshots-ae8afd251f08aa6ce99daf430c411dda178327c6.tar.gz |
snapshot of project "lynx", label v2-9-0dev_12l
Diffstat (limited to 'WWW')
-rw-r--r-- | WWW/Library/Implementation/HTTCP.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/WWW/Library/Implementation/HTTCP.c b/WWW/Library/Implementation/HTTCP.c index ee164610..f0d6f3a7 100644 --- a/WWW/Library/Implementation/HTTCP.c +++ b/WWW/Library/Implementation/HTTCP.c @@ -1,5 +1,5 @@ /* - * $LynxId: HTTCP.c,v 1.165 2023/10/24 08:15:04 tom Exp $ + * $LynxId: HTTCP.c,v 1.166 2023/10/27 00:16:33 tom Exp $ * * Generic Communication Code HTTCP.c * ========================== @@ -2489,6 +2489,9 @@ int HTDoRead(int fildes, break; } else if (ret > 0) { ready = TRUE; + } else if (ret == 0 && (errno == EINPROGRESS || errno == EALREADY)) { + result = 0; + break; } else if (HTWasInterrupted(&result)) { break; } |