You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Joost de Heer <sa...@xs4all.nl> on 2006/05/02 23:07:34 UTC

[users@httpd] Re: PING in scripts won't timeout. Trap problem?

Mark London wrote:
> A user at our site has complained that he when he tries to create a
> script (cgi or php) that uses PING, if the PING hits a node that doesn't
> respond (i.e. the node has a firewall), the PING never times out and the
> script hangs.  From the command line, PING will timeout.  Would anyone
> have any insight into this problem, and have a solution?  Thanks. - Mark

No idea why it won't timeout (use ethereal to see what happens exactly),
but you could use the -w option to force a timeout.

Joost


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org