From fd9f5991f58b5d72ae96905bff5eecce3ecb473d Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 2 Aug 2012 01:32:33 +0900 Subject: [PATCH] shrpx: Fill initial values for flags --- examples/shrpx.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/shrpx.cc b/examples/shrpx.cc index 76906774..785e4044 100644 --- a/examples/shrpx.cc +++ b/examples/shrpx.cc @@ -328,6 +328,10 @@ void fill_default_config() mod_config()->spdy_max_concurrent_streams = SPDYLAY_INITIAL_MAX_CONCURRENT_STREAMS; + mod_config()->spdy_proxy = false; + mod_config()->add_x_forwarded_for = false; + mod_config()->accesslog = false; + set_config_str(&mod_config()->conf_path, "/etc/shrpx/shrpx.conf"); mod_config()->syslog = false;