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 - 2004, 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.925 2006/05/22 15:34:16 grubba Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.926 2006/05/23 08:33:51 grubba 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:5583:    if( add_nl ) format += "\n";       string code = #"    inherit ___LogFormat;    void log( function callback, RequestID request_id, mapping file )    {    if(!callback) return;";       if (log_flags & LOG_FLAG_NEED_COOKIES) {    code += #" -  id->init_cookies();"; +  request_id->init_cookies();";    }       code += sprintf(#"    string data = sprintf( %O %{, %s%} );", format, args );       if (log_flags & LOG_FLAG_ASYNC)    {    code += #"    roxen.ip_to_host(request_id->remoteaddr,do_async_write,    data, request_id->remoteaddr, callback );";