… | |
… | |
5 | |
5 | |
6 | $NO_SEGMENTED = 1; # allow segmented downloads? |
6 | $NO_SEGMENTED = 1; # allow segmented downloads? |
7 | |
7 | |
8 | $REQ_TIMEOUT = 60; # request timeout |
8 | $REQ_TIMEOUT = 60; # request timeout |
9 | $RES_TIMEOUT = 180; # response timeout |
9 | $RES_TIMEOUT = 180; # response timeout |
|
|
10 | $PER_TIMEOUT = 120; # persistent connection timeout |
10 | |
11 | |
11 | $MAX_POOL = 20; # max. number of idle workers |
12 | $MAX_POOL = 20; # max. number of idle workers |
12 | |
13 | |
13 | $DOCROOT = "/usr/www/htdocs"; # document root |
14 | $DOCROOT = "/usr/www/htdocs"; # document root |
14 | |
15 | |
15 | $SERVER_HOST = "0.0.0.0"; # host to bind on |
16 | $SERVER_HOST = "0.0.0.0"; # host to bind on |
16 | $SERVER_PORT = 80; # port to listen on |
17 | $SERVER_PORT = 80; # port to listen on |
17 | |
18 | |
18 | $CMDSHELL_PORT = 7262; # open a command shell on this port |
19 | $CMDSHELL_PORT = 7262; # open a command shell on this port |
19 | |
20 | |
20 | $BUFSIZE = 64*024; # buffer size |
21 | $BUFSIZE = 16*1024; # buffer size |
|
|
22 | |
|
|
23 | $AIO_PARALLEL = 1; # how many reader threads for i/o? |