shrpx: Don't propagate expect: 100-continue to backend
This commit is contained in:
parent
52c4d26927
commit
aa07076f29
|
@ -235,6 +235,9 @@ int SpdyDownstreamConnection::push_request_headers()
|
|||
via_value = (*i).second;
|
||||
} else if(util::strieq((*i).first.c_str(), "x-forwarded-for")) {
|
||||
xff_value = (*i).second;
|
||||
} else if(util::strieq((*i).first.c_str(), "expect") &&
|
||||
util::strifind((*i).second.c_str(), "100-continue")) {
|
||||
// Ignore
|
||||
} else if(util::strieq((*i).first.c_str(), "host")) {
|
||||
nv[hdidx++] = ":host";
|
||||
nv[hdidx++] = (*i).second.c_str();
|
||||
|
|
Loading…
Reference in New Issue