summaryrefslogtreecommitdiffhomepage
path: root/src/main.c
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-12-06 01:39:33 +0100
committerMichael Adam <obnox@samba.org>2009-12-06 01:57:04 +0100
commit34dbeb3626745ac2798e4606e59539155e17049e (patch)
tree16ad9604229c4b8cc7f02c299f92d486d4192d32 /src/main.c
parentc853cec16433901e14703618496ea5ca78f272da (diff)
main/conf: add maxidletimeout to initialize_config_defaults
But keep the resetting check after processing the conf file. Michael
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index d05d868..8088b3c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -313,6 +313,7 @@ static void initialize_config_defaults (struct config_s *conf)
*/
conf->errorpages = NULL;
conf->stathost = safestrdup (TINYPROXY_STATHOST);
+ conf->idletimeout = MAX_IDLE_TIME;
}
int