nghttpx: Return HTTP error on downstream parser failure on HTTPS upstream
This commit is contained in:
parent
83200f3080
commit
a4d729d36b
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue