first commit
CI / Build (clang, clang++, ubuntu-22.04, linux, 3.10, master, x86,x86_64) (push) Canceled after 0s
CI / Build (clang, clang++, windows-2022, windows, 3.10, master, x86,x86_64) (push) Canceled after 0s
CI / Release (push) Canceled after 0s

This commit is contained in:
2026-09-13 22:18:11 +01:00
commit 08c03ac533
6701 changed files with 1577314 additions and 0 deletions
@@ -0,0 +1,23 @@
nghttp2_session_check_request_allowed
=====================================
Synopsis
--------
*#include <nghttp2/nghttp2.h>*
.. function:: int nghttp2_session_check_request_allowed(nghttp2_session *session)
Returns nonzero if new request can be sent from local endpoint.
This function return 0 if request is not allowed for this session.
There are several reasons why request is not allowed. Some of the
reasons are: session is server; stream ID has been spent; GOAWAY
has been sent or received.
The application can call `nghttp2_submit_request()` without
consulting this function. In that case, `nghttp2_submit_request()`
may return error. Or, request is failed to sent, and
:type:`nghttp2_on_stream_close_callback` is called.