Merge pull request #1489 from tomaskrizek/doc-session-send

doc: nghttp2_session_send is also affected by max concurrent streams
This commit is contained in:
Tatsuhiro Tsujikawa 2020-07-19 12:14:53 +09:00 committed by GitHub
commit 7f92b1e0e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -2851,10 +2851,11 @@ NGHTTP2_EXTERN void nghttp2_session_del(nghttp2_session *session);
* *
* This function retrieves the highest prioritized frame from the * This function retrieves the highest prioritized frame from the
* outbound queue and sends it to the remote peer. It does this as * 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 * :type:`nghttp2_send_callback` returns
* :enum:`NGHTTP2_ERR_WOULDBLOCK`, the outbound queue becomes empty * :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 * This function calls several callback functions which are passed
* when initializing the |session|. Here is the simple time chart * when initializing the |session|. Here is the simple time chart
* which tells when each callback is invoked: * which tells when each callback is invoked: