Merge "Allow wss as websocket protocol" into stable/queens
This commit is contained in:
@@ -378,7 +378,7 @@ class WINCHHandler(object):
|
|||||||
|
|
||||||
|
|
||||||
def do_attach(zunclient, url, container_id, escape, close_wait):
|
def do_attach(zunclient, url, container_id, escape, close_wait):
|
||||||
if url.startswith("ws://"):
|
if url.startswith("ws://") or url.startswith("wss://"):
|
||||||
try:
|
try:
|
||||||
wscls = WebSocketClient(zunclient=zunclient, url=url,
|
wscls = WebSocketClient(zunclient=zunclient, url=url,
|
||||||
id=container_id, escape=escape,
|
id=container_id, escape=escape,
|
||||||
|
|||||||
Reference in New Issue
Block a user