Commit a9338f1c authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Fix hang when error page is sent on response phase hook error

parent 4ad00200
......@@ -929,6 +929,7 @@ int Http2Upstream::downstream_read(DownstreamConnection *dconn) {
}
if (rv == SHRPX_ERR_DCONN_CANCELED) {
downstream->pop_downstream_connection();
handler_->signal_write();
return 0;
}
if (rv != 0) {
......
......@@ -602,6 +602,7 @@ int SpdyUpstream::downstream_read(DownstreamConnection *dconn) {
}
if (rv == SHRPX_ERR_DCONN_CANCELED) {
downstream->pop_downstream_connection();
handler_->signal_write();
return 0;
}
if (rv != 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment