Http module

Client_Settings

structextensionexperimentalSource

Pool settings, for the whole program. Idle connections are closed when they have waited idle_timeout milliseconds or when more than max_idle_per_host pile up for one host.

Fields

max_idle_per_host: := 8
idle_timeout: := 30_000
user_agent: := "jaic-http"
max_open_responses: := 64
Responses whose body is neither read to the end nor closed may hold this many connections per scheduler; past it the oldest is closed (its body can no longer be read).
http2: := true
Offer HTTP/2 (ALPN h2) on https connections. When the server picks it, requests to that origin share one connection. Off, h2 is never offered, even when a tls config of your own lists it in alpn (the client then uses a copy of that config without it).

See also