Commit aa07076f authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

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

parent 52c4d269
......@@ -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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment