Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:2235:    //! Save all port options    {    set_port_options( get_key(),    mkmapping( indices(variables),    map(indices(variables),query)));    }       void restore()    //! Restore all port options from saved values    { -  foreach( (array)get_port_options( get_key() ), array kv ) -  set( kv[0], kv[1] ); +  setvars(get_port_options( get_key() ));    }       protected int retries;    protected void bind (void|int ignore_eaddrinuse)    {    if (bound) return;    if (!port_obj) port_obj = Stdio.Port();    Privs privs = Privs (sprintf ("Binding %s", get_url()));    if (port_obj->bind(port, got_connection, ip))    {