1
0
mirror of https://github.com/moparisthebest/spdylay synced 2024-08-13 17:03:54 -04:00

shrpx: Don't propagate expect: 100-continue to backend

This commit is contained in:
Tatsuhiro Tsujikawa 2012-11-18 23:49:41 +09:00
parent 52c4d26927
commit aa07076f29

View File

@ -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();