Skip to content

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 02 Nov 01:51
· 76 commits to main since this release

Released 2026-11-02.

A stability and hardening pass: every request phase is now bounded and the hot
path is cheaper. Drop-in upgrade — no config changes, one new flag.

Resilience

  • In-flight requests are capped (--max-concurrent, default 64); extra requests queue instead of growing memory, and SSE streams never hold a permit
  • Connections are capped too, and excess is closed on accept; EMFILE/ENFILE now backs off a second and keeps serving instead of exiting, with LimitNOFILE=16384 in the systemd unit
  • Every phase has a timeout: 30s to finish request headers, 120s for a trickled body, and a silent upstream mid-body aborts instead of hanging the handler
  • Hot-reload failures back off 1s → 30s instead of re-decrypting a corrupt store every second, and decryption runs off the async workers

Performance

  • stream detection answers at the first stream: true without parsing the whole body (8MB request: ~100ms → 584ns)
  • SSE terminator scanning is SIMD-accelerated (~67× less CPU on the scan path), proxy lookup is lock-free, and audit writes are batched

Hardening

  • Route config is validated at save time: header values that would 500 every request, and retry_on_status outside 400–599 (which could replay POSTs), are rejected up front
  • Upstream error logs no longer include the request URL, which could carry the upstream key with --auth query

UX

  • route add no longer invents a gateway address when the gateway is down; 401s explain the hot-reload window; route rm says what it breaks; hints are platform-correct