From 7e46d0b1425f9f871977e54946f493354e0ac89b Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 4 Mar 2015 23:35:23 +0900 Subject: [PATCH] asio: Call signal_write() on session_impl::cancel() --- src/asio_client_session_impl.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/asio_client_session_impl.cc b/src/asio_client_session_impl.cc index edd8557c..2b60280a 100644 --- a/src/asio_client_session_impl.cc +++ b/src/asio_client_session_impl.cc @@ -324,6 +324,7 @@ bool session_impl::setup_session() { void session_impl::cancel(stream &strm) { nghttp2_submit_rst_stream(session_, NGHTTP2_FLAG_NONE, strm.stream_id(), NGHTTP2_CANCEL); + signal_write(); } stream *session_impl::find_stream(int32_t stream_id) {