Timeout implementation - WeOnlyDo Discussion board

Timeout implementation (General questions)

by dirk, Thursday, May 17, 2012, 15:05 (4371 days ago)

When the wodHTTPDLX component connects to a site with a 2 seconds timeout, then this timeout is the actual time there is not traffic going from the webserver to the component. This means that if the webserver is very slow and send (example) 1 char per second and needs to send 20000 chars; then it will take ages to get the full page and you won't get the timeout.

I tried to force my own timeout by setting a component.disconnect in one of the events (using the fast notification interface) , but that isn't working.
Any thought how I can enforce a real timeout?


Complete thread: