]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
http: remove leftovers after transition to net.listen() interface
authorPetr Špaček <petr.spacek@nic.cz>
Thu, 18 Apr 2019 13:11:58 +0000 (15:11 +0200)
committerPetr Špaček <petr.spacek@nic.cz>
Thu, 18 Apr 2019 13:11:58 +0000 (15:11 +0200)
modules/http/http.lua.in

index 718497f343c02d900439223ff956232fe78e2787..4534ab2acb08a735ba44bd15fcfbc41c95d3fe40 100644 (file)
@@ -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