--- Coro/myhttpd/config.pl.dist 2001/11/28 03:40:15 1.24 +++ Coro/myhttpd/config.pl.dist 2002/02/20 15:06:51 1.27 @@ -1,12 +1,10 @@ -$MAX_CONNECTS = 1000; # maximum simult. connects -$MAX_TRANSFERS_SMALL = 10; # the maximum number of sim. file transfers -$MAX_TRANSFERS_LARGE = 15; # the maximum number of sim. file transfers -$TRANSFER_SMALL = 3_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 +$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 @@ -19,15 +17,17 @@ $DOCROOT = "/usr/www/htdocs"; # document root $SERVER_HOST = "0.0.0.0"; # host to bind on -$SERVER_PORT = 80; # port to listen on +$SERVER_PORT = 88; # port to listen on $CMDSHELL_PORT = 7262; # open a command shell on this port -$WAIT_INTERVAL = 60*5; -$WAIT_BUFSIZE = 512; +$WAIT_INTERVAL = 60*5; # check for free slot this often +$WAIT_BUFSIZE = 512; # send this much data while waiting $BUFSIZE = 32*1024; # buffer size $AIO_PARALLEL = 1; # how many reader threads for i/o? $ACCESS_LOG = "logs/accesslog"; # access log +$ERROR_LOG = "logs/errorlog"; # error log +