--- Coro/myhttpd/config.pl.dist 2001/09/10 22:16:20 1.19 +++ Coro/myhttpd/config.pl.dist 2002/11/21 13:08:06 1.29 @@ -1,12 +1,10 @@ -$MAX_CONNECTS = 20; # maximum simult. connects -$MAX_TRANSFERS_SMALL = 3; # the maximum number of sim. file transfers -$MAX_TRANSFERS_LARGE = 3; # the maximum number of sim. file transfers -$TRANSFER_SMALL = 1_000_000; # size of a "small" file +$MAX_CONNECTS = 100; # maximum simult. connects +$MAX_TRANSFERS = 10; # the maximum number of sim. file transfers -$MAX_CONN_IP = 4; # maximum simult. connects per ip -$BLOCKTIME = 7200; # block time +$MAX_TRANSFERS_IP = 4; # maximum simult. connects per ip +$BLOCKTIME = 60*60*2; # block time -$NO_SEGMENTED = 1; # allow segmented downloads? +$NO_SEGMENTED = 0; # disallow segmented downloads? $REQ_TIMEOUT = 60; # request timeout $RES_TIMEOUT = 180; # response timeout @@ -23,8 +21,16 @@ $CMDSHELL_PORT = 7262; # open a command shell on this port -$BUFSIZE = 256*1024; # buffer size +$WAIT_INTERVAL = 60*5; # check for free slot this often +$WAIT_BUFSIZE = 512; # send this much data while waiting + +$BUFSIZE = 32*1024; # buffer size + +$TBF_RATE = 100000000; # maximum allowed throughput +$TBF_MAX_PER_CLIENT = 100000; # maximum throughput per connection $AIO_PARALLEL = 1; # how many reader threads for i/o? $ACCESS_LOG = "logs/accesslog"; # access log +$ERROR_LOG = "logs/errorlog"; # error log +