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
This commit is contained in:
Tomas Krizek 2020-06-19 17:22:55 +02:00
parent b6b135c060
commit 5497a1dfa7
No known key found for this signature in database
GPG Key ID: 1859C8263905566C
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: