mirror of
https://github.com/moparisthebest/spdylay
synced 2024-12-21 23:28:52 -05:00
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);
|
||||
downstream->add_request_header("X-Forwarded-Spdy", "true");
|
||||
if(!get_config()->spdy_proxy) {
|
||||
downstream->add_request_header("X-Forwarded-Spdy", "true");
|
||||
}
|
||||
|
||||
if(ENABLE_LOG) {
|
||||
std::stringstream ss;
|
||||
|
Loading…
Reference in New Issue
Block a user