From 81f6bd6198724947da35fbfa2f48cadd05afc856 Mon Sep 17 00:00:00 2001 From: Bruno Date: Mon, 23 Sep 2019 18:32:20 -0300 Subject: [PATCH] Actual ipv4/ipv6 fix --- httpserver.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/httpserver.py b/httpserver.py index e4d7dbd..1929772 100644 --- a/httpserver.py +++ b/httpserver.py @@ -94,9 +94,6 @@ def run(port, index, certpath=''): 'server.socket_host': '::', 'server.socket_port': int(port) }) - server = cherrypy._cpserver.Server() - server.socket_host = '0.0.0.0' - server.subscribe() if port == 443 and confs.BASE_DOMAIN in paths: logger.info('Starting TLS server.') @@ -115,9 +112,6 @@ def run(port, index, certpath=''): server.socket_host = '::' server.socket_port = 80 server.subscribe() - server = cherrypy._cpserver.Server() - server.socket_host = '0.0.0.0' - server.subscribe() logger.info('Starting HTTP server.') cherrypy.quickstart(Root(), '/')