static void check_timeouts()
Scan the pool and force-close connections idle for > conn_timeout_ms.
static QueueHandle_t queue
FreeRTOS queue handle shared between lwIP callbacks and server_tick().
void http_reset(uint8_t slot_id)
Reset the HTTP parser for a connection slot.
void http_parse(uint8_t slot_id)
Drain the transport ring buffer and advance the HTTP parser.
void server_tick()
Drive the session layer for one Arduino loop iteration.
Layer 5 (Session) — event queue dispatcher and session lifecycle.
Event record posted from lwIP callbacks to the main-loop task.
EvtType type
What happened.
uint8_t slot_id
Which connection slot is affected.
@ EVT_CONNECT
New connection accepted.
@ EVT_DISCONNECT
Remote peer closed the connection gracefully.
@ EVT_ERROR
lwIP reported an error (PCB may already be freed).
@ EVT_DATA
Data received; bytes are already in the ring buffer.