1 | $MAX_CONNECTS = 500; # maximum simult. connects |
1 | $MAX_CONNECTS = 500; # maximum simult. connects |
|
|
2 | |
2 | $MAX_CONN_IP = 4; # maximum simult. connects per ip |
3 | $MAX_CONN_IP = 4; # maximum simult. connects per ip |
|
|
4 | $BLOCKTIME = 7200; # block time |
|
|
5 | |
3 | $SEGMENTED_OK = 0; # allow segmented downloads? |
6 | $NO_SEGMENTED = 1; # allow segmented downloads? |
|
|
7 | |
4 | $REQ_TIMEOUT = 60; # request timeout |
8 | $REQ_TIMEOUT = 60; # request timeout |
5 | $RES_TIMEOUT = 180; # response timeout |
9 | $RES_TIMEOUT = 180; # response timeout |
|
|
10 | |
6 | $MAX_POOL = 20; # max. number of idle workers |
11 | $MAX_POOL = 20; # max. number of idle workers |
|
|
12 | |
7 | $DOCROOT = "/usr/www/htdocs"; # document root |
13 | $DOCROOT = "/usr/www/htdocs"; # document root |
8 | $INDEXPROG = "/usr/www/bin/dols"; # indexing program (nph-cgi script) |
14 | |
9 | $SERVER_HOST = "0.0.0.0"; # host to bind on |
15 | $SERVER_HOST = "0.0.0.0"; # host to bind on |
10 | $SERVER_PORT = 84; # port to listen on |
16 | $SERVER_PORT = 80; # port to listen on |
11 | |
17 | |
|
|
18 | $CMDSHELL_PORT = 7262; # open a command shell on this port |
12 | |
19 | |
|
|
20 | $BUFSIZE = 16*1024; # buffer size |
|
|
21 | |
|
|
22 | $AIO_PARALLEL = 1; # how many reader threads for i/o? |