nghttpx: Ignore further input if connection is going to close
This commit is contained in:
parent
26900262f3
commit
c7df65309b
|
@ -542,7 +542,7 @@ int HttpsUpstream::on_read() {
|
|||
auto rlimit = handler_->get_rlimit();
|
||||
auto downstream = get_downstream();
|
||||
|
||||
if (rb->rleft() == 0) {
|
||||
if (rb->rleft() == 0 || handler_->get_should_close_after_write()) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue