wired
libc-free QUIC/HTTP3 SDK in C for x86_64-linux
Loading...
Searching...
No Matches
state.h File Reference

RFC 9114 6.2.1 / 7.2.4 / 4.1. More...

#include "app/qpack/qpack/dyntable.h"
#include "common/platform/sys/syscall.h"

Go to the source code of this file.

Data Structures

struct  wired_h3srv_state
 HTTP/3 server response-layer state after the 1-RTT handshake. More...

Functions

void wired_h3srv_state_init (wired_h3srv_state *st, u64 max_table_capacity)
 RFC 9204 3.2: initialise st's dynamic table empty and its own advertised capacity limit – called once per connection (wired_srvloop_init), mirrors quic_qpack_dyn_init's own single-purpose shape but scoped to the owning wired_h3srv_state.

Detailed Description

RFC 9114 6.2.1 / 7.2.4 / 4.1.

HTTP/3 server response-layer state after the 1-RTT handshake: the local control + SETTINGS-first ordering, peer control SETTINGS-first verification, and the request-before-response invariant.

Function Documentation

◆ wired_h3srv_state_init()

void wired_h3srv_state_init ( wired_h3srv_state * st,
u64 max_table_capacity )

RFC 9204 3.2: initialise st's dynamic table empty and its own advertised capacity limit – called once per connection (wired_srvloop_init), mirrors quic_qpack_dyn_init's own single-purpose shape but scoped to the owning wired_h3srv_state.

Parameters
stthe state to initialise
max_table_capacitythe limit this server advertises via SETTINGS_QPACK_MAX_TABLE_CAPACITY (0 if none)