Bug? Url timeout

Q&A's, tips, howto's
Locked
newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Bug? Url timeout

Post by newdep »

Hi Lutz,

Im not fully sure on want assumptions the 'timeout works in get-url
but its not working 100%..

an example on infomak.com

> (net-lookup "www.infomak.com")
"216.46.67.36"
> (get-url "http://www.infomak.com" 1000)
*** takes as long as the Linux kernel Timeout on a connection and not 1 second) and finaly ->
> "ERR: could not connect"


Seems that 'timeout does not overrule a connection retry on tcp.

If i telnet to that hostname im getting timeouts... probably because the
host is not online..

~$ telnet 216.46.67.36 80
Trying 216.46.67.36...

~$ telnet www.infomak.com 80
Trying 216.46.67.36...
telnet: connect to address 216.46.67.36: Connection timed out

even connecting with a webbrowser to www.infomak.com takes ages, because
its not online... I would assume the newlisp-timeout would intercept this but it doesn't..


Norman.
-- (define? (Cornflakes))

Locked