From 5497a1dfa724b77fc28df47b6484e9499e4a66f9 Mon Sep 17 00:00:00 2001 From: Tomas Krizek Date: Fri, 19 Jun 2020 17:22:55 +0200 Subject: [PATCH] doc: nghttp2_session_send is also affected by max concurrent streams Further clarify the function also takes into account maximum concurrent streams. Closes #691 Closes #817 --- lib/includes/nghttp2/nghttp2.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/includes/nghttp2/nghttp2.h b/lib/includes/nghttp2/nghttp2.h index a8c75594..d9fae5bf 100644 --- a/lib/includes/nghttp2/nghttp2.h +++ b/lib/includes/nghttp2/nghttp2.h @@ -2851,10 +2851,11 @@ NGHTTP2_EXTERN void nghttp2_session_del(nghttp2_session *session); * * This function retrieves the highest prioritized frame from the * outbound queue and sends it to the remote peer. It does this as - * many as possible until the user callback + * many times as possible until the user callback * :type:`nghttp2_send_callback` returns * :enum:`NGHTTP2_ERR_WOULDBLOCK`, the outbound queue becomes empty - * or remote window size becomes depleted due to flow control. + * or flow control is triggered (remote window size becomes depleted + * or maximum number of concurrent streams is reached). * This function calls several callback functions which are passed * when initializing the |session|. Here is the simple time chart * which tells when each callback is invoked: