Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] http timeout Re:

From: holger:rebol at: 24-Aug-2000 15:21

On Thu, Aug 24, 2000 at 01:12:53PM -0700, [galtbarber--mailandnews--com] wrote:
> I guess my point is, why not make the timeout so that > it says not how long to take for the whole thing to > finish downloading, which could be a long time, > but rather how long to wait, getting no new data, > before terminating that as hopeless.
That is already how it works. The timeout is the maximum time between two consecutive pieces of data REBOL receives from the TCP/IP stack. Similary for sending. You may still have to increase the timeout though. It is not unusual to have intermittant problems on the Internet (routers rebooting etc.) that can cause delays of more than 30 seconds at a time. On modem lines modem retrains can cause similar delays. For large files the chance of randomly encountering such a long delay somewhere in the middle of a transfer is higher than for small files, which is why you are more likely to see problems for large files. -- Holger Kruse [holger--rebol--com]