Branch: Tag:

2005-10-07

2005-10-07 09:32:30 by Anders Johansson <anders@roxen.com>

Fixed [bug 3967 (#3967)]. Backtrace in linkbrowser.

Rev: server/base_server/roxen.pike:1.905

6:   // Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.   // ABS and suicide systems contributed freely by Francesco Chemolli    - constant cvs_version="$Id: roxen.pike,v 1.904 2005/09/30 11:21:36 anders Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.905 2005/10/07 09:32:30 anders Exp $";      //! @appears roxen   //!
1173:       // Can we bind to it?    Stdio.Port port = Stdio.Port(); +  // bind() can trow error if ip is an invalid hostname. +  catch {    res = port->bind(0, 0, ip); -  +  };       destruct(port);    return host_is_local_cache[hostname] = res;