--- Coro/myhttpd/config.pl.dist 2001/12/03 04:57:42 1.25 +++ Coro/myhttpd/config.pl.dist 2002/02/02 15:41:22 1.26 @@ -1,5 +1,7 @@ -$MAX_CONNECTS = 1000; # maximum simult. connects -$MAX_TRANSFERS = 15; # the maximum number of sim. file transfers +$MAX_CONNECTS = 100; # maximum simult. connects +$MAX_TRANSFERS_SMALL = 1; # the maximum number of sim. file transfers +$MAX_TRANSFERS_LARGE = 1; # the maximum number of sim. file transfers +$TRANSFER_SMALL = 1_000_000; # size of a "small" file $MAX_TRANSFERS_IP = 4; # maximum simult. connects per ip $BLOCKTIME = 60*60*2; # block time @@ -17,12 +19,12 @@ $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*4; -$WAIT_BUFSIZE = 256; +$WAIT_INTERVAL = 1; # check for free slot this often +$WAIT_BUFSIZE = 5; # send this much data while waiting $BUFSIZE = 32*1024; # buffer size