nghttpx: Return HTTP error on downstream parser failure on HTTPS upstream

This commit is contained in:
Tatsuhiro Tsujikawa 2015-02-04 21:30:05 +09:00
parent 83200f3080
commit a4d729d36b
1 changed files with 1 additions and 5 deletions

View File

@ -481,12 +481,8 @@ int HttpsUpstream::downstream_read(DownstreamConnection *dconn) {
return downstream_eof(dconn); return downstream_eof(dconn);
} }
if (rv == DownstreamConnection::ERR_NET) {
return downstream_error(dconn, Downstream::EVENT_ERROR);
}
if (rv < 0) { if (rv < 0) {
return -1; return downstream_error(dconn, Downstream::EVENT_ERROR);
} }
end: end: