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.1077 2011/01/20 14:01:02 grubba Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.1078 2011/02/15 13:51:39 marty 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:1901:    }    Configuration c;    if( refs < 2 )    {    if(!mu)    {    mu = get_iterator(urls)->value();    if(!(c=mu->conf)->inited ) {    handle (lambda () {    c->enable_all_modules(); -  call_out (requesthandler, 0, q, this, c); +  call_out (lambda () +  { +  // The connection might have been +  // closed already, e.g. by +  // http_fallback.ssl_alert_callback() +  // (prot_https.pike). Avoid a +  // backtrace in that case. +  if (q->is_open()) +  requesthandler (q, this, c); +  }, 0);    });    return;    }    } else    c = mu->conf;    }    requesthandler( q, this_object(), c );    }    }