Don't add X-Forwarded-Spdy in SPDY proxy mode
This commit is contained in:
parent
75f93d8333
commit
24453cf0bd
|
@ -186,7 +186,9 @@ void on_ctrl_recv_callback
|
|||
}
|
||||
|
||||
downstream->add_request_header("host", host);
|
||||
if(!get_config()->spdy_proxy) {
|
||||
downstream->add_request_header("X-Forwarded-Spdy", "true");
|
||||
}
|
||||
|
||||
if(ENABLE_LOG) {
|
||||
std::stringstream ss;
|
||||
|
|
Loading…
Reference in New Issue