ff4ff35918
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
26 lines
811 B
ReStructuredText
26 lines
811 B
ReStructuredText
|
|
nghttp2_check_authority
|
|
=======================
|
|
|
|
Synopsis
|
|
--------
|
|
|
|
*#include <nghttp2/nghttp2.h>*
|
|
|
|
.. function:: int nghttp2_check_authority(const uint8_t *value, size_t len)
|
|
|
|
|
|
Returns nonzero if the *value* which is supposed to be the value of the
|
|
:authority or host header field is valid according to
|
|
https://tools.ietf.org/html/rfc3986#section-3.2
|
|
|
|
Note that :authority and host field values are not authority. They
|
|
do not include userinfo in RFC 3986, see
|
|
https://datatracker.ietf.org/doc/html/rfc3986#section-3.2.2, that
|
|
is, it does not include '@'. This function treats '@' as a valid
|
|
character.
|
|
|
|
*value* is valid if it merely consists of the allowed characters.
|
|
In particular, it does not check whether *value* follows the syntax
|
|
of authority.
|