Files
junction/tests
Hermes Agent dc31481914 junction: TLS, chunked coding, response cache, header passthrough
- TLS both directions behind one j_conn handle: https upstreams with SNI, chain and
  hostname verification (system store or tls_ca) and a 'listen ... tls cert key'
  listener. Handshake has a hard deadline; a peer that closes without close_notify
  is EOF, not an error (HTTP/1.0 bodies end at close).
- Chunked request bodies decoded into the body buffer; chunked responses relayed
  byte for byte so streaming is untouched.
- Memory-only LRU response cache (method+path+model+body), honouring no-store/
  private, client no-cache, never caching streams, flushable at runtime.
- Header passthrough with hop-by-hop removal, per-endpoint static headers,
  X-Forwarded-For/Proto, and X-Junction-{Endpoint,Ms,Cache} on every response.
- No separate reachability probe: the request itself is the test (the probe wedged
  servers that serve one connection at a time).
- tests/run.sh: 34 checks incl. a TLS peer; refuses to start on a busy test port.
2026-10-29 13:57:49 +00:00
..