Commit f486c579 authored by Gerald Salin's avatar Gerald Salin
Browse files

#82 : add protocol to acces server

parent ad92bd76
......@@ -112,9 +112,9 @@ class JFlowConfigReader(object):
def get_socket_options(self):
try:
return [self.reader.get("global", "server_socket_host"), int(self.reader.get("global", "server_socket_port"), self.reader.get("global", "server_socket_protocol"))]
return [self.reader.get("global", "server_socket_host"), int(self.reader.get("global", "server_socket_port")), self.reader.get("global", "server_socket_protocol")]
except:
return ["127.0.0.1", 8080]
return ["127.0.0.1", 8080,"http"]
def get_ssl_files(self):
try:
......
......@@ -159,7 +159,7 @@ class NG6ConfigReader(object):
def get_server_parameters(self):
"""
return the server parameters
@return: server_socket_host, server_socket_port
@return: server_socket_host, server_socket_port, server_socket_protocol
"""
# try:
server_params = []
......
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