nghttpx: Fix hang when error page is sent on response phase hook error
This commit is contained in:
parent
4ad00200a2
commit
a9338f1c0e
|
@ -929,6 +929,7 @@ int Http2Upstream::downstream_read(DownstreamConnection *dconn) {
|
||||||
}
|
}
|
||||||
if (rv == SHRPX_ERR_DCONN_CANCELED) {
|
if (rv == SHRPX_ERR_DCONN_CANCELED) {
|
||||||
downstream->pop_downstream_connection();
|
downstream->pop_downstream_connection();
|
||||||
|
handler_->signal_write();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (rv != 0) {
|
if (rv != 0) {
|
||||||
|
|
|
@ -602,6 +602,7 @@ int SpdyUpstream::downstream_read(DownstreamConnection *dconn) {
|
||||||
}
|
}
|
||||||
if (rv == SHRPX_ERR_DCONN_CANCELED) {
|
if (rv == SHRPX_ERR_DCONN_CANCELED) {
|
||||||
downstream->pop_downstream_connection();
|
downstream->pop_downstream_connection();
|
||||||
|
handler_->signal_write();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
if (rv != 0) {
|
if (rv != 0) {
|
||||||
|
|
Loading…
Reference in New Issue