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