From f56cfc920e83b8a3feee812299e0a3c3b7d2fbe6 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 16 Jul 2012 23:48:02 +0900 Subject: [PATCH] shrpx: fixed read/write timeouts of upstream are interchanged. --- examples/shrpx.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/shrpx.cc b/examples/shrpx.cc index c2fb9dbe..94fb696a 100644 --- a/examples/shrpx.cc +++ b/examples/shrpx.cc @@ -244,9 +244,9 @@ void fill_default_config() mod_config()->private_key_file = 0; mod_config()->cert_file = 0; - mod_config()->upstream_read_timeout.tv_sec = 30; + mod_config()->upstream_read_timeout.tv_sec = 60; mod_config()->upstream_read_timeout.tv_usec = 0; - mod_config()->upstream_write_timeout.tv_sec = 60; + mod_config()->upstream_write_timeout.tv_sec = 30; mod_config()->upstream_write_timeout.tv_usec = 0; mod_config()->spdy_upstream_read_timeout.tv_sec = 600;