FerryDocs
ArchitectureSecurity model

Timeouts and limits

The proxy puts a limit on each client connection. A slow or idle client cannot keep it open.

Edit on GitHub

Connect. One client address can have 256 connections.

1 / 5
The limits of one client connection

The limits of the proxy

LimitValue
Open connectionsThe limit comes from the open-file limit of the process: 10,000 at most. At startup, ferryd raises its soft open-file limit to the hard limit.
Connections per client address256. An IPv6 client counts per /64. The limit does not apply to loopback clients, such as a local front proxy or a tunnel.
handshake10 seconds
First request head, and each next head on HTTP/130 seconds. This also limits an idle HTTP/1 keep-alive connection.
Idle connection (no request in progress)60 seconds. 5 seconds while the server is at the connection limit.
Pause while a client sends a request body60 seconds, then 408

What the timeouts never cut

  • Requests in progress: streamed answers such as , long downloads, uploads that continue to send.
  • tunnels.

The limits of the API

BodyLargest size
A request body2 MiB
A source upload512 MiB
A GitHub delivery25 MiB

On this page