MyNixOS website logo
option

services.sslh.method

The method to use for handling connections:

  • fork forks a new process for each incoming connection. It is well-tested and very reliable, but incurs the overhead of many processes.

  • select uses only one thread, which monitors all connections at once. It has lower overhead per connection, but if it stops, you'll lose all connections.

  • ev is implemented using libev, it's similar to select but scales better to a large number of connections.

Declarations
Type
one of "fork", "select", "ev"
Default
"fork"