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 - 2009, 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.1083 2011/08/11 14:57:10 grubba Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.1084 2011/08/15 14:13:48 grubba 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:2060:       mixed query_option( string x )    //! Query the port-option 'x' for this port.    {    return query( x );    }       string get_key()    //! Return the key used for this port (protocol:ip:portno)    { + #if 0    if (ip == "::")    return name + ":0:" + port;    else -  + #endif    return name+":"+ip+":"+port;    }       string get_url()    //! Return the port on URL form.    {    return (string) name + "://" +    (!ip ? "*" : has_value (ip, ":") ? "[" + ip + "]" : ip) +    ":" + port + "/";    }