ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/Coro/myhttpd/config.pl.dist
Revision: 1.24
Committed: Wed Nov 28 03:40:15 2001 UTC (22 years, 7 months ago) by root
Branch: MAIN
Changes since 1.23: +5 -2 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 $MAX_CONNECTS = 1000; # maximum simult. connects
2 $MAX_TRANSFERS_SMALL = 10; # the maximum number of sim. file transfers
3 $MAX_TRANSFERS_LARGE = 15; # the maximum number of sim. file transfers
4 $TRANSFER_SMALL = 3_000_000; # size of a "small" file
5
6 $MAX_CONN_IP = 4; # maximum simult. connects per ip
7 $BLOCKTIME = 60*60*2; # block time
8
9 $NO_SEGMENTED = 1; # allow segmented downloads?
10
11 $REQ_TIMEOUT = 60; # request timeout
12 $RES_TIMEOUT = 180; # response timeout
13 $PER_TIMEOUT = 120; # persistent connection timeout
14
15 $MAX_POOL = 20; # max. number of idle workers
16
17 $DB_HOME = "db"; # database home directory
18
19 $DOCROOT = "/usr/www/htdocs"; # document root
20
21 $SERVER_HOST = "0.0.0.0"; # host to bind on
22 $SERVER_PORT = 80; # port to listen on
23
24 $CMDSHELL_PORT = 7262; # open a command shell on this port
25
26 $WAIT_INTERVAL = 60*5;
27 $WAIT_BUFSIZE = 512;
28
29 $BUFSIZE = 32*1024; # buffer size
30
31 $AIO_PARALLEL = 1; # how many reader threads for i/o?
32
33 $ACCESS_LOG = "logs/accesslog"; # access log