services.sslh.method
NixOS option
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.
type: one of "fork", "select", "ev"Default
declared in: nixos/modules/services/networking/sslh.nixView source on NixOS/nixpkgs →"fork"