diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2024-01-15 23:28:41 +0000 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2024-01-16 00:18:06 +0000 |
commit | 8ed5d3b5bf97f5a459c5bbe7f9264903cb728d88 (patch) | |
tree | 0aafabcf3dfaab7685fa0fcbaa683dafe287807e /WWW/Library/Implementation | |
parent | 3ee8300fec5d35be98863ab0101433d348c936cc (diff) | |
download | lynx-snapshots-8ed5d3b5bf97f5a459c5bbe7f9264903cb728d88.tar.gz |
snapshot of project "lynx", label v2-9-0
Diffstat (limited to 'WWW/Library/Implementation')
-rw-r--r-- | WWW/Library/Implementation/HTTCP.c | 6 |
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; } } |