diff --git a/internal/http/listen_nix.go b/internal/http/listen_nix.go index 6efa253e2..ef464e25b 100644 --- a/internal/http/listen_nix.go +++ b/internal/http/listen_nix.go @@ -27,11 +27,12 @@ import ( ) var cfg = &tcplisten.Config{ + ReusePort: true, DeferAccept: true, FastOpen: true, - // Bump up the soMaxConn value from 128 to 4096 to + // Bump up the soMaxConn value from 128 to 65535 to // handle large incoming concurrent requests. - Backlog: 4096, + Backlog: 65535, } // Unix listener with special TCP options.