mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 14:31:13 +02:00
Merge branch 'master' into 2.1
This commit is contained in:
7 files changed
+338
-10
No files matched your search
@@ -502,6 +502,10 @@ class DockerVM(BaseNode):
|
||||
msg = yield from ws.receive()
|
||||
if msg.tp == aiohttp.WSMsgType.text:
|
||||
out.feed_data(msg.data.encode())
|
||||
elif msg.tp == aiohttp.WSMsgType.BINARY:
|
||||
out.feed_data(msg.data)
|
||||
elif msg.tp == aiohttp.WSMsgType.ERROR:
|
||||
log.critical("Docker WebSocket Error: {}".format(msg.data))
|
||||
else:
|
||||
out.feed_eof()
|
||||
ws.close()
|
||||
|
||||
Reference in new issue
Block a user