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