From: Petr Špaček Date: Thu, 18 Apr 2019 13:11:58 +0000 (+0200) Subject: http: remove leftovers after transition to net.listen() interface X-Git-Tag: v4.0.0~3^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=983acc5ac278726d1055e20aa752834deb67e379;p=thirdparty%2Fknot-resolver.git http: remove leftovers after transition to net.listen() interface --- diff --git a/modules/http/http.lua.in b/modules/http/http.lua.in index 718497f34..4534ab2ac 100644 --- a/modules/http/http.lua.in +++ b/modules/http/http.lua.in @@ -381,12 +381,6 @@ local function add_socket(fd, kind, addr_str) end -- Compose server handler local routes = route(conf.endpoints) - -- Enable SO_REUSEPORT by default (unless explicitly turned off) - if not conf.reuseport and worker.id > 0 then - warn('[http] the "reuseport" option is disabled and multiple forks are used, ' .. - 'port binding will fail on some instances') - end - -- Check if UNIX socket path is used TODO conf.ctx = crt and tlscontext(crt, key) conf.onstream = routes -- Create TLS context and start listening