limit default max_requests to 3
authorFelix Fietkau <nbd@openwrt.org>
Sun, 30 Dec 2012 20:34:23 +0000 (21:34 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 30 Dec 2012 20:34:23 +0000 (21:34 +0100)
main.c

diff --git a/main.c b/main.c
index 37cba7f18b5527fb618fc6f054d22414065a21bc..945be1604615a76a75356bc58fb3444fe97181ea 100644 (file)
--- a/main.c
+++ b/main.c
@@ -65,6 +65,7 @@ static void init_defaults(void)
 {
        conf.network_timeout = 30;
        conf.http_keepalive = 0; /* fixme */
+       conf.max_requests = 3;
 
        uh_index_add("index.html");
        uh_index_add("index.htm");