Bug? Url timeout

Started by newdep, May 27, 2007, 02:25:07 AM

Previous topic - Next topic

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 "http://www.infomak.com">www.infomak.com")

"216.46.67.36"

> (get-url "http://www.infomak.com">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 http://www.infomak.com">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 http://www.infomak.com">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))