Overview
| Comment: | Test and fuzz the HTTP response parser
Unit tests cover chunked, length-delimited and close-delimited bodies, interim responses, smuggling guards, chunk framing, truncation and the header cap, whole and bytewise. A libFuzzer target checks that chunking never changes the outcome. |
|---|---|
| Timelines: | family | ancestors | descendants | both | stage-2 |
| Files: | files | file ages | folders |
| SHA3-256: |
cb38c633126c5fe3d3476dc841226dd2 |
| User & Date: | dmestas on 2026-11-18 17:41:38.621 |
| Other Links: | branch diff | manifest | tags |
Context
|
2026-11-18
| ||
| 17:44 |
Plan the credential project and add the credential seam
The credential project holds only sanctioned credentials, runs one authority reached over SSH, and starts after stage 2. pic gets a single function that reads the key from the environment and a wipe helper, so the helper-command source can replace it later without touching callers. check-in: 38a6005d71 user: dmestas tags: stage-2 | |
| 17:41 |
Test and fuzz the HTTP response parser
Unit tests cover chunked, length-delimited and close-delimited bodies, interim responses, smuggling guards, chunk framing, truncation and the header cap, whole and bytewise. A libFuzzer target checks that chunking never changes the outcome. check-in: cb38c63312 user: dmestas tags: stage-2 | |
| 17:26 |
Add an HTTPS stack on vendored BearSSL
BearSSL 0.6 is vendored and verified byte for byte against the upstream release. net.c adapts suit TLS and trust-anchor code to C11 with a deadline-bounded name lookup and TCP connect; http.c is a strict HTTP/1.1 response parser and one-shot POST. A probe completes a TLS 1.2 handshake and an HTTP exchange with the Messages API and refuses expired, wrong-host, self-signed and plain-HTTP endpoints. check-in: 7ce5fcd871 user: dmestas tags: stage-2 | |