asio: Call signal_write() on session_impl::cancel()

This commit is contained in:
Tatsuhiro Tsujikawa 2015-03-04 23:35:23 +09:00
parent 726e6c087d
commit 7e46d0b142
1 changed files with 1 additions and 0 deletions

View File

@ -324,6 +324,7 @@ bool session_impl::setup_session() {
void session_impl::cancel(stream &strm) { void session_impl::cancel(stream &strm) {
nghttp2_submit_rst_stream(session_, NGHTTP2_FLAG_NONE, strm.stream_id(), nghttp2_submit_rst_stream(session_, NGHTTP2_FLAG_NONE, strm.stream_id(),
NGHTTP2_CANCEL); NGHTTP2_CANCEL);
signal_write();
} }
stream *session_impl::find_stream(int32_t stream_id) { stream *session_impl::find_stream(int32_t stream_id) {