From fce4be9555835d0ec9e3d948d9a12b7756bd9c85 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 3 Aug 2012 22:20:59 +0900 Subject: [PATCH] shrpx: Change default values of -f and -b option -f now defaults to 0.0.0.0,3000. -b now defaults to 127.0.0.1,80. --- examples/shrpx.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/shrpx.cc b/examples/shrpx.cc index 785e404..f2c13cc 100644 --- a/examples/shrpx.cc +++ b/examples/shrpx.cc @@ -290,7 +290,7 @@ void fill_default_config() mod_config()->daemon = false; mod_config()->server_name = "shrpx spdylay/"SPDYLAY_VERSION; - set_config_str(&mod_config()->host, "localhost"); + set_config_str(&mod_config()->host, "0.0.0.0"); mod_config()->port = 3000; mod_config()->private_key_file = 0; mod_config()->cert_file = 0; @@ -320,7 +320,7 @@ void fill_default_config() // 2**16 = 64KiB, which is SPDY/3 default. mod_config()->spdy_upstream_window_bits = 16; - set_config_str(&mod_config()->downstream_host, "localhost"); + set_config_str(&mod_config()->downstream_host, "127.0.0.1"); mod_config()->downstream_port = 80; mod_config()->num_worker = 1;