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.1081 2011/06/15 15:11:08 grubba Exp $"; + constant cvs_version="$Id$";      //! @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:2949:    if (required_host == "::") opened_ipv6_any_port = 1;       m[required_host][port]->ref(url, urls[url]);       urls[url]->port = m[required_host][port];    if (urls[url]->ports) {    urls[url]->ports += ({ m[required_host][port] });    } else {    urls[url]->ports = ({ m[required_host][port] });    } +  if (ourl != url) {    urls[ourl]->port = m[required_host][port];    if (urls[ourl]->ports) {    urls[ourl]->ports += ({ m[required_host][port] });    } else {    urls[ourl]->ports = ({ m[required_host][port] });    } -  +  }    continue; /* No need to open a new port */    }       if( !m[ required_host ] )    m[ required_host ] = ([ ]);          Protocol prot_obj;    if (mixed err = catch {    prot_obj = m[ required_host ][ port ] =
Roxen.git/server/base_server/roxen.pike:3009:    m_delete (m[required_host], port);    continue;    }       urls[ url ]->port = prot_obj;    if (urls[url]->ports) {    urls[url]->ports += ({ prot_obj });    } else {    urls[url]->ports = ({ prot_obj });    } +  if (ourl != url) {    urls[ ourl ]->port = prot_obj;    if (urls[ourl]->ports) {    urls[ourl]->ports += ({ prot_obj });    } else {    urls[ourl]->ports = ({ prot_obj });    } -  +  }    prot_obj->ref(url, urls[url]);       if( !prot_obj->bound )    failures++;    }    if (failures == sizeof(required_hosts))    {    report_error(LOC_M(23, "Failed to register URL %s for %O.")+"\n",    display_url, conf->query_name());    return 0;