Branch: Tag:

2001-02-27

2001-02-27 02:54:34 by Per Hedbor <ph@opera.com>

Added minimum bandwidth support, and added TIMER_*() macros for performance optimization reasons.

Rev: server/base_server/configuration.pike:1.418
Rev: server/base_server/global_variables.pike:1.63
Rev: server/base_server/roxen.pike:1.637
Rev: server/protocols/http.pike:1.306
Rev: server/protocols/prot_http.pike:2.2

1:   // This file is part of Roxen Webserver.   // Copyright © 1996 - 2000, Roxen IS. - // $Id: global_variables.pike,v 1.62 2001/01/29 07:50:20 per Exp $ + // $Id: global_variables.pike,v 1.63 2001/02/27 02:54:34 per Exp $      /*   #pragma strict_types
99:    };    };    +  defvar( "minimum_bitrate", 0, LOCALE(0, "Minumum allowed bitrate" ), +  TYPE_INT, +  LOCALE(0, "The minimum allowed bitrate, in Kbits/second. If the " +  "client is slower than this set bitrate, it will be " +  "disconnected (after a timeout). Setting this higher than " +  "14 is not recommended if you have modem users.")); +     defvar("show_internals", 1, LOCALE(72, "Show internal errors"),    TYPE_FLAG,    LOCALE(73, "Show 'Internal server error' messages to the user. "