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
1 changed files with 3 additions and 0 deletions

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