Branch: Tag:

1997-12-15

1997-12-15 01:40:40 by Per Hedbor <ph@opera.com>

Removed some (now unused) code

Rev: server/base_server/hosts.pike:1.18
Rev: server/base_server/roxen.pike:1.154

1: - constant cvs_version = "$Id: roxen.pike,v 1.153 1997/12/04 04:26:47 per Exp $"; + constant cvs_version = "$Id: roxen.pike,v 1.154 1997/12/15 01:40:40 per Exp $";   #define IN_ROXEN   #include <roxen.h>   #include <config.h>
15:   #else   inherit "hosts";   #endif -  + inherit "module_support";   inherit "socket";   inherit "disk_cache";   inherit "language";
1558:    "default group of that user will be used. "    "The syntax is user[:group].");    + #ifdef EXTERNAL_HOSTNAME_PROCESS    globvar("NumHostnameLookup", 2, "Number of hostname lookup processes",    TYPE_INT|VAR_MORE,    "You can here state the number of simultaneos host-name lookup "
1571:    "<li> 1 extra for each 300 000 accesses/day\n"    "<li> 1 for each proxy\n"    "<li> 1 for each 100 proxy users\n" -  "</ul>\n"); +  "</ul>\n",0,1); + #endif       globvar("ModuleDirs", ({ "../local/modules/", "modules/" }),    "Module directories", TYPE_DIR_LIST,
1593:    " each given client-name are combined to form the final feature list"    ". See the file etc/supports for examples.");    -  - // globvar("IfModified", 1, "Honor If-Modified-Since headers", TYPE_FLAG, - // "If set, send a 'Not modified' response in reply to " - // "if-modified-since headers, as " - // "<a href=http://www.w3.org/pub/WWW/Protocols/HTTP/1.1/spec" - // "#If-Modified-Since>specified by the HTTP draft.</a>"); -  +     globvar("audit", 0, "Audit trail", TYPE_FLAG,    "If Audit trail is set to Yes, all changes of uid will be"    "logged in the Event log.");
2337: Inside #if efun(send_fd)
  #if efun(send_fd)    init_shuffler();   #endif -  create_host_name_lookup_processes(); +        foreach( ({ "SIGUSR1", "SIGUSR2", "SIGHUP", "SIGINT" }), string sig) {    catch { signal(signum(sig), exit_when_done); };