|
wired
libc-free QUIC/HTTP3 SDK in C for x86_64-linux
|
One regular request header: name and value as octet positions inside the request's hdr_base (its decode scratch), so a copy of the request only has to move the bytes and re-point hdr_base. More...
#include <request_drive.h>
Data Fields | |
| u16 | name_off |
| name position in hdr_base | |
| u16 | name_len |
| name length in octets | |
| u16 | value_off |
| value position in hdr_base | |
| u16 | value_len |
| value length in octets | |
One regular request header: name and value as octet positions inside the request's hdr_base (its decode scratch), so a copy of the request only has to move the bytes and re-point hdr_base.
u16 positions suffice: the decode scratch is bounded by the advertised SETTINGS_MAX_FIELD_SECTION_SIZE (RFC 9114 4.2.2, WIRED_H3_MAX_FIELD_SECTION), far below 64 KiB.