Branch: Tag:

2001-04-18

2001-04-18 04:25:08 by Martin Stjernholm <mast@lysator.liu.se>

Added compat_level setting to each virtual server. The idea is that it gets
set to the current Roxen version for newly created configurations and is
then kept.

Rev: server/base_server/configuration.pike:1.426
Rev: server/base_server/roxen.pike:1.659

4:   // 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.658 2001/04/17 07:33:05 per Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.659 2001/04/18 04:25:08 mast Exp $";      // Used when running threaded to find out which thread is the backend thread.   Thread.Thread backend_thread;
71:    return fname-(getcwd()+"/");   }    + array(string) compat_levels = ({"2.1", "2.2"}); +    #ifdef THREADS   mapping(string:string) thread_names = ([]);   string thread_name( object thread )
3595:    dump( "base_server/fastpipe.pike" );    dump( "base_server/throttler.pike" );    +  if (!has_value (compat_levels, __roxen_version__)) +  report_debug ("Warning: The current version %s does not exist in " +  "roxen.compat_levels.\n", __roxen_version__); +     add_constant( "Protocol", Protocol );   #ifdef TIMERS    call_out( show_timers, 30 );