mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-06 18:18:52 +08:00
nghttpx: Return HTTP error on downstream parser failure on HTTPS upstream
This commit is contained in:
@@ -481,12 +481,8 @@ int HttpsUpstream::downstream_read(DownstreamConnection *dconn) {
|
||||
return downstream_eof(dconn);
|
||||
}
|
||||
|
||||
if (rv == DownstreamConnection::ERR_NET) {
|
||||
return downstream_error(dconn, Downstream::EVENT_ERROR);
|
||||
}
|
||||
|
||||
if (rv < 0) {
|
||||
return -1;
|
||||
return downstream_error(dconn, Downstream::EVENT_ERROR);
|
||||
}
|
||||
|
||||
end:
|
||||
|
||||
Reference in New Issue
Block a user