Merge branch 'master' into 2.1

This commit is contained in:
Julien Duponchelle committed 2017-07-11 18:59:50 +02:00
commit 699ecb7c89
7 files changed
+338 -10

No files matched your search

+4
View File
@@ -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()