From ae8afd251f08aa6ce99daf430c411dda178327c6 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Fri, 27 Oct 2023 00:25:32 +0000 Subject: snapshot of project "lynx", label v2-9-0dev_12l --- WWW/Library/Implementation/HTTCP.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'WWW/Library/Implementation') 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; } -- cgit 1.4.1-2-gfad0