Commit 8059380f authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

nghttpx: Don't need to set response state to MSG_COMPLETE after error_reply

parent 039d9db5
......@@ -903,7 +903,6 @@ int Http2Upstream::downstream_eof(DownstreamConnection *dconn) {
if (error_reply(downstream, 502) != 0) {
return -1;
}
downstream->set_response_state(Downstream::MSG_COMPLETE);
}
handler_->signal_write();
// At this point, downstream may be deleted.
......
......@@ -610,7 +610,6 @@ int SpdyUpstream::downstream_eof(DownstreamConnection *dconn) {
if (error_reply(downstream, 502) != 0) {
return -1;
}
downstream->set_response_state(Downstream::MSG_COMPLETE);
}
handler_->signal_write();
// At this point, downstream may be deleted.
......
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