ProtoCore v0.0.2
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
edge_fetch.h File Reference

CDN edge-cache tier - async origin-fetch engine (PC_ENABLE_EDGE_CACHE). More...

#include "protocore_config.h"

Go to the source code of this file.

Detailed Description

CDN edge-cache tier - async origin-fetch engine (PC_ENABLE_EDGE_CACHE).

A non-blocking origin fetch: open + send a request over a transport seam, accumulate the response across poll loops into a bounded buffer, detect completion (Content-Length / chunked / connection close), then parse it with the proven http_client codec. Pumped from the server poll loop so a miss or revalidation never stalls the worker; the transport seam is pc_client on the device and a mock in host tests. Zero heap; the buffer is fixed (PC_EDGE_FETCH_BUF).

Author
Douglas Quigg (dstroy0)
Date
2026

Definition in file edge_fetch.h.