Fixup bugs from merge (pull #46).

- Rename unix socket option to '--unix-target' to be consistent with
  '--ssl-target' which is an analogous switch.
- Fix normal socket target mode which was broken after merge.
- Normalize/fix output for SSL, unix socket and wrap command modes.
This commit is contained in:
Joel Martin
2012-05-31 09:17:51 -05:00
parent 233b622e47
commit cddc1613ff
2 changed files with 22 additions and 27 deletions
+1 -3
View File
@@ -104,7 +104,7 @@ Sec-WebSocket-Accept: %s\r
def __init__(self, listen_host='', listen_port=None, source_is_ipv6=False,
verbose=False, cert='', key='', ssl_only=None,
daemon=False, record='', web='',
run_once=False, timeout=0, unix=None):
run_once=False, timeout=0):
# settings
self.verbose = verbose
@@ -115,8 +115,6 @@ Sec-WebSocket-Accept: %s\r
self.run_once = run_once
self.timeout = timeout
self.unix_socket = unix
self.launch_time = time.time()
self.ws_connection = False
self.handler_id = 1