Branch: Tag:

1999-11-24

1999-11-24 19:12:12 by Per Hedbor <ph@opera.com>

cache the fast and slowpipe programs (it is somewhat unnessesary to stat them for each request). :-)

Rev: server/base_server/roxen.pike:1.358
Rev: server/protocols/http.pike:1.170

1:   /* -  * $Id: roxen.pike,v 1.357 1999/11/24 15:01:23 per Exp $ +  * $Id: roxen.pike,v 1.358 1999/11/24 19:11:19 per Exp $    *    * The Roxen Challenger main program.    *
7:    */      // ABS and suicide systems contributed freely by Francesco Chemolli - constant cvs_version="$Id: roxen.pike,v 1.357 1999/11/24 15:01:23 per Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.358 1999/11/24 19:11:19 per Exp $";      object backend_thread;   object argcache;
2775:   #endif   }    + program slowpipe, fastpipe; +    int main(int argc, array argv)   {    mkdir( "precompiled" ); -  +  slowpipe = ((program)"slowpipe"); +  fastpipe = ((program)"fastpipe");    -  +     call_out( lambda() { -  ((program)"fastpipe"), -  ((program)"slowpipe"), +     dump( "protocols/http.pike");    dump( "protocols/ftp.pike");    dump( "protocols/https.pike");