mirror of https://github.com/docker/compose.git
Do not encode chunk, just write as is.
This commit is contained in:
parent
d0b5bcf26a
commit
2bd6e3d0a5
|
@ -81,7 +81,7 @@ class SocketClient:
|
|||
chunk = socket.recv(4096)
|
||||
|
||||
if chunk:
|
||||
stream.write(chunk.encode(stream.encoding or 'utf-8'))
|
||||
stream.write(chunk)
|
||||
stream.flush()
|
||||
else:
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue