mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 11:18:11 +00:00
Fix a bug in docker binary message handling
This commit is contained in:
parent
d525f721a6
commit
fc87871d46
@ -502,7 +502,7 @@ class DockerVM(BaseNode):
|
||||
msg = yield from ws.receive()
|
||||
if msg.tp == aiohttp.MsgType.TEXT:
|
||||
out.feed_data(msg.data.encode())
|
||||
if msg.tp == aiohttp.MsgType.BINARY:
|
||||
elif msg.tp == aiohttp.MsgType.BINARY:
|
||||
out.feed_data(msg.data)
|
||||
elif msg.tp == aiohttp.MsgType.ERROR:
|
||||
log.critical("Docker WebSocket Error: {}".format(msg.data))
|
||||
|
Loading…
Reference in New Issue
Block a user