--- Coro/myhttpd/config.pl.dist 2001/08/14 19:38:25 1.8 +++ Coro/myhttpd/config.pl.dist 2001/11/11 03:32:19 1.21 @@ -1,15 +1,21 @@ -$MAX_CONNECTS = 500; # maximum simult. connects +$MAX_CONNECTS = 100; # maximum simult. connects +$MAX_TRANSFERS_SMALL = 3; # the maximum number of sim. file transfers +$MAX_TRANSFERS_LARGE = 5; # the maximum number of sim. file transfers +$TRANSFER_SMALL = 1_000_000; # size of a "small" file -$MAX_CONN_IP = 4; # maximum simult. connects per ip -$BLOCKTIME = 7200; # block time +$MAX_CONN_IP = 1; # maximum simult. connects per ip +$BLOCKTIME = 86400; # block time $NO_SEGMENTED = 1; # allow segmented downloads? $REQ_TIMEOUT = 60; # request timeout $RES_TIMEOUT = 180; # response timeout +$PER_TIMEOUT = 120; # persistent connection timeout $MAX_POOL = 20; # max. number of idle workers +$DB_HOME = "db"; # database home directory + $DOCROOT = "/usr/www/htdocs"; # document root $SERVER_HOST = "0.0.0.0"; # host to bind on @@ -17,6 +23,8 @@ $CMDSHELL_PORT = 7262; # open a command shell on this port -$BUFSIZE = 16*1024; # buffer size +$BUFSIZE = 256*1024; # buffer size $AIO_PARALLEL = 1; # how many reader threads for i/o? + +$ACCESS_LOG = "logs/accesslog"; # access log