about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation')
-rw-r--r--WWW/Library/Implementation/HTTCP.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/WWW/Library/Implementation/HTTCP.c b/WWW/Library/Implementation/HTTCP.c
index de5551ef..f4b45977 100644
--- a/WWW/Library/Implementation/HTTCP.c
+++ b/WWW/Library/Implementation/HTTCP.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTTCP.c,v 1.168 2024/01/14 11:00:25 tom Exp $
+ * $LynxId: HTTCP.c,v 1.169 2024/01/14 19:19:39 tom Exp $
  *
  *			Generic Communication Code		HTTCP.c
  *			==========================
@@ -2490,6 +2490,10 @@ int HTDoRead(int fildes,
 	} else if (ret > 0) {
 	    ready = TRUE;
 	} else if (HTWasInterrupted(&result)) {
+#ifdef USE_READPROGRESS
+	    if (tries > TRIES_PER_SECOND)
+		result = 0;
+#endif
 	    break;
 	}
     }