newLISP Fan Club

Forum => newLISP in the real world => Topic started by: newdep on May 27, 2007, 02:25:07 AM

Title: Bug? Url timeout
Post by: newdep on May 27, 2007, 02:25:07 AM
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.