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

This commit is contained in:
Tatsuhiro Tsujikawa 2015-01-20 23:33:45 +09:00
parent 039d9db5a3
commit 8059380fb0
2 changed files with 0 additions and 2 deletions

View File

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

View File

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