131 else |
131 else |
132 for _, port in ipairs(ports) do |
132 for _, port in ipairs(ports) do |
133 if type(port) ~= "number" then |
133 if type(port) ~= "number" then |
134 log("error", "Non-numeric "..option..": "..tostring(port)); |
134 log("error", "Non-numeric "..option..": "..tostring(port)); |
135 else |
135 else |
136 cl.start(listener, { ssl = global_ssl_ctx, port = port, type = conntype }); |
136 cl.start(listener, { ssl = conntype ~= "tcp" and global_ssl_ctx, port = port, type = conntype }); |
137 end |
137 end |
138 end |
138 end |
139 end |
139 end |
140 end |
140 end |
141 |
141 |