Commit Graph

1 Commits

Author SHA1 Message Date
ollie 2f93a45031 backend: shared HTTP transport pool for connection multiplexing
All backend constructors now use SharedClient() which returns an
*http.Client backed by a per-host shared *http.Transport. This enables
HTTP/2 multiplexing: multiple sessions targeting the same API host
share a single TLS connection instead of each maintaining their own.

The pool is keyed by "backend:baseURL" so different endpoints get
separate transports while same-host sessions multiplex.
2026-07-18 22:02:10 +02:00