Commit 24453cf0 authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Don't add X-Forwarded-Spdy in SPDY proxy mode

parent 75f93d83
...@@ -186,7 +186,9 @@ void on_ctrl_recv_callback ...@@ -186,7 +186,9 @@ void on_ctrl_recv_callback
} }
downstream->add_request_header("host", host); downstream->add_request_header("host", host);
downstream->add_request_header("X-Forwarded-Spdy", "true"); if(!get_config()->spdy_proxy) {
downstream->add_request_header("X-Forwarded-Spdy", "true");
}
if(ENABLE_LOG) { if(ENABLE_LOG) {
std::stringstream ss; std::stringstream ss;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment