wired
libc-free QUIC/HTTP3 SDK in C for x86_64-linux
Loading...
Searching...
No Matches
stp_limits Struct Reference

RFC 9000 18.2: the operator-tunable integer limits this server advertises; a zero field falls back to the built-in default. More...

#include <server_tp.h>

Data Fields

u64 max_data
 initial_max_data (0x04), default STP_DEFAULT_MAX_DATA
u64 max_streams_bidi
 initial_max_streams_bidi (0x08), default 100
u64 max_streams_uni
 initial_max_streams_uni (0x09), default 100.
u64 max_datagram_frame_size
 max_datagram_frame_size (0x20, RFC 9221 3), 0 = not advertised (no built-in default: the caller opts in once DATAGRAM delivery is wired end-to-end)

Detailed Description

RFC 9000 18.2: the operator-tunable integer limits this server advertises; a zero field falls back to the built-in default.

Field Documentation

◆ max_streams_uni

u64 stp_limits::max_streams_uni

initial_max_streams_uni (0x09), default 100.

A server whose uni-stream reassembly capacity is a fixed slot table should advertise a limit that capacity actually backs (RFC 9000 4.6): a limit above capacity lets a loss-delayed burst of legitimate streams land frames nowhere while their packets still ACK, losing them for good – the same lockstep rule max_streams_bidi already follows.


The documentation for this struct was generated from the following file: