Branch: Tag:

1997-09-12

1997-09-12 06:14:41 by Per Hedbor <ph@opera.com>

'Privs' introduced

Rev: server/base_server/configuration.pike:1.77
Rev: server/base_server/disk_cache.pike:1.28
Rev: server/base_server/hosts.pike:1.13
Rev: server/base_server/neighborhood.pike:1.26
Rev: server/base_server/read_config.pike:1.14
Rev: server/base_server/roxen.pike:1.130
Rev: server/base_server/roxenloader.pike:1.41
Rev: server/modules/filesystems/filesystem.pike:1.22
Rev: server/modules/graphics/graphic_text.pike:1.71
Rev: server/modules/logging/home_logger.pike:1.11
Rev: server/modules/misc/mirrorserver.pike:1.6
Rev: server/modules/misc/userdb.pike:1.16
Rev: server/modules/scripting/cgi.pike:1.37
Rev: server/modules/scripting/pikescript.pike:1.15
Rev: server/modules/tags/htmlparse.pike:1.43
Rev: server/modules/tags/killframe.pike:1.10
Rev: server/protocols/http.pike:1.43

1:   // This is a roxen module. (c) Informationsv√§varna AB 1996.    - constant cvs_version = "$Id: http.pike,v 1.42 1997/09/07 16:43:01 grubba Exp $"; + constant cvs_version = "$Id: http.pike,v 1.43 1997/09/12 06:14:41 per Exp $";   // HTTP protocol module.   #include <config.h>   private inherit "roxenlib";
767:    int len;    pipe = id[0];    file = id[1]; -  +     if(len = pipe->bytes_sent()) file->len = len;    if(conf)    { -  conf->log(file, this_object()); +     if(file->len > 0) conf->sent+=file->len; -  +  conf->log(file, this_object());    }    }    my_fd=0;