nghttpx: Write mruby send_info early

This commit is contained in:
Tatsuhiro Tsujikawa 2018-11-15 10:17:47 +09:00
parent 3c393dca58
commit 6cad1b243b
1 changed files with 4 additions and 0 deletions

View File

@ -357,6 +357,10 @@ mrb_value response_send_info(mrb_state *mrb, mrb_value self) {
mrb_raise(mrb, E_RUNTIME_ERROR, "could not send non-final response");
}
auto handler = upstream->get_client_handler();
handler->signal_write();
return self;
}
} // namespace