Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:3249:    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:3309:    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;