From 8b50cc0ecebd4cafa39f6cbbd7fa6ff5bd6844fa Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 21 Jul 2016 21:18:21 +0900 Subject: [PATCH] Update doc --- lib/includes/nghttp2/nghttp2.h | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/lib/includes/nghttp2/nghttp2.h b/lib/includes/nghttp2/nghttp2.h index 1cd68179..0f368c14 100644 --- a/lib/includes/nghttp2/nghttp2.h +++ b/lib/includes/nghttp2/nghttp2.h @@ -2629,14 +2629,20 @@ NGHTTP2_EXTERN void nghttp2_session_del(nghttp2_session *session); * * 6. :type:`nghttp2_before_frame_send_callback` is invoked. * - * 7. :type:`nghttp2_send_callback` is invoked one or more times to + * 7. If :enum:`NGHTTP2_ERR_CANCEL` is returned from + * :type:`nghttp2_before_frame_send_callback`, the current frame + * transmission is canceled, and + * :type:`nghttp2_on_frame_not_send_callback` is invoked. Abort + * the following steps. + * + * 8. :type:`nghttp2_send_callback` is invoked one or more times to * send the frame. * - * 8. :type:`nghttp2_on_frame_send_callback` is invoked. + * 9. :type:`nghttp2_on_frame_send_callback` is invoked. * - * 9. If the transmission of the frame triggers closure of the stream, - * the stream is closed and - * :type:`nghttp2_on_stream_close_callback` is invoked. + * 10. If the transmission of the frame triggers closure of the + * stream, the stream is closed and + * :type:`nghttp2_on_stream_close_callback` is invoked. * * This function returns 0 if it succeeds, or one of the following * negative error codes: