Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2001, Roxen IS.   //   // The Roxen WebServer main program.   //   // 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.858 2004/02/03 10:52:24 grubba Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.859 2004/02/03 12:04:28 anders Exp $";      //! @appears roxen   //!   //! The Roxen WebServer main program.      // The argument cache. Used by the image cache.   ArgCache argcache;      // Some headerfiles   #define IN_ROXEN
Roxen.git/server/base_server/roxen.pike:1538: Inside #if constant(System.EADDRINUSE) || constant(system.EADDRINUSE)
  #if constant(System.EADDRINUSE) || constant(system.EADDRINUSE)    if (   #if constant(System.EADDRINUSE)    (port_obj->errno() == System.EADDRINUSE) &&   #else /* !constant(System.EADDRINUSE) */    (port_obj->errno() == system.EADDRINUSE) &&   #endif /* constant(System.EADDRINUSE) */    (retries++ < 10)) {    // We may get spurious failures on rebinding ports on some OS'es    // (eg Linux, WIN32). See [bug 3031]. -  report_notice(LOC_M(0, "Attempt %d. Retrying in 1 minute.")+"\n", +  report_notice(LOC_M(62, "Attempt %d. Retrying in 1 minute.")+"\n",    retries);    call_out(bind, 60);    }   #endif /* constant(System.EADDRINUSE) || constant(system.EADDRINUSE) */    }       static void create( int pn, string i )    //! Constructor. Bind to the port 'pn' ip 'i'    {    port = pn;