Skip to content

Commit

Permalink
doc: nghttp2_session_send is also affected by max concurrent streams
Browse files Browse the repository at this point in the history
Further clarify the function also takes into account maximum concurrent
streams.

Closes nghttp2#691
Closes nghttp2#817
  • Loading branch information
nicki-krizek committed Jun 19, 2020
1 parent b6b135c commit 5497a1d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/includes/nghttp2/nghttp2.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5497a1d

Please sign in to comment.