Aug 08
Jolle Carlestam Include_url never times out
Aug 08, 2012; 09:54
Jolle Carlestam
Include_url never times out
We're running into issues where include_url never times out if the remote server fails to return anything. It seems that the params connecttimeout and timeout are not honored.
Here's a simple test
include_url(
'http://mytest.tld/urltest.lasso?sleep=12000',
-connecttimeout = 5.0,
-timeout = 5.0
)
In urltest.lasso I have the following code:
sleep(integer(web_request -> param('sleep') || 20000))
'See me!<br>'
web_request -> params
The call will wait for the stipulated 12 seconds and then return the result. If I bump up the sleep value it will just keep waiting for it to expire. Even after several minutes it just hangs there.
This wreck havoc on some unmonitored threads we have going. If the thread freezes waiting for a response that never come it will stop all subsequent calls to the thread.
I've found no way to tell Lasso that if a process takes too long then skip it. Would be handy though...
HDB
Jolle
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Aug 08
Steve Piercy - Web Site Builder Re: Include_url never times out
Aug 08, 2012; 04:40
Steve Piercy - Web Site Builder
Re: Include_url never times out
Aug 08
Jolle Carlestam Re: Include_url never times out
Aug 08, 2012; 11:45
Jolle Carlestam
Re: Include_url never times out
Aug 08
Jolle Carlestam Re: Include_url never times out
Aug 08, 2012; 11:58
Jolle Carlestam
Re: Include_url never times out
Aug 08
Steve Piercy - Web Site Builder Re: Include_url never times out
Aug 08, 2012; 05:22
Steve Piercy - Web Site Builder
Re: Include_url never times out
Aug 08
Jolle Carlestam Re: Include_url never times out
Aug 08, 2012; 12:34
Jolle Carlestam
Re: Include_url never times out
Aug 08
Steve Piercy - Web Site Builder Re: Include_url never times out
Aug 08, 2012; 05:48
Steve Piercy - Web Site Builder
Re: Include_url never times out
Aug 08
Jolle Carlestam Re: Include_url never times out
Aug 08, 2012; 12:56
Jolle Carlestam
Re: Include_url never times out
Aug 08
Jonathan Guthrie Re: Include_url never times out
Aug 08, 2012; 09:55
Jonathan Guthrie
Re: Include_url never times out