Commit 7ff38eeb authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

asio: Start writing on cancel

parent e4ce595e
......@@ -154,6 +154,10 @@ void response_impl::cancel(uint32_t error_code) {
auto handler = stream_->handler();
handler->stream_error(stream_->get_stream_id(), error_code);
if (!handler->inside_callback()) {
handler->initiate_write();
}
}
void response_impl::start_response() {
......
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