nghttpx: Don't need to set response state to MSG_COMPLETE after error_reply
This commit is contained in:
parent
039d9db5a3
commit
8059380fb0
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue