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

The peer's control stream, reassembled across datagrams (RFC 9000 2.2) past its leading type varint, so its HTTP/3 frames (SETTINGS, GOAWAY, PRIORITY_UPDATE, ...) can be walked once fully buffered up to parsed. More...

#include <srvloop.h>

Data Fields

u8 buf [WIRED_SRVLOOP_CTRL_BUF_CAP]
 offset-indexed control bytes
usz len
 highest offset+len written into buf
usz parsed
 bytes already walked as complete HTTP/3 frames

Detailed Description

The peer's control stream, reassembled across datagrams (RFC 9000 2.2) past its leading type varint, so its HTTP/3 frames (SETTINGS, GOAWAY, PRIORITY_UPDATE, ...) can be walked once fully buffered up to parsed.

Offset-indexed like wired_srvloop_stream_slot's req_buf: a frame spanning more than one STREAM frame (curl splits SETTINGS from a later PRIORITY_UPDATE) still lands contiguously. ponytail: overflow past buf is truncated, same policy as req_buf.


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