Commit 983acc5a authored by Petr Špaček's avatar Petr Špaček

http: remove leftovers after transition to net.listen() interface

parent cc1d1692
......@@ -381,12 +381,6 @@ local function add_socket(fd, kind, addr_str)
-- Compose server handler
local routes = route(conf.endpoints)
-- Enable SO_REUSEPORT by default (unless explicitly turned off)
if not conf.reuseport and > 0 then
warn('[http] the "reuseport" option is disabled and multiple forks are used, ' ..
'port binding will fail on some instances')
-- Check if UNIX socket path is used TODO
conf.ctx = crt and tlscontext(crt, key)
conf.onstream = routes
-- Create TLS context and start listening
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment