mirror of
https://github.com/docker/compose.git
synced 2025-07-25 22:54:54 +02:00
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)
|
chunk = socket.recv(4096)
|
||||||
|
|
||||||
if chunk:
|
if chunk:
|
||||||
stream.write(chunk.encode(stream.encoding or 'utf-8'))
|
stream.write(chunk)
|
||||||
stream.flush()
|
stream.flush()
|
||||||
else:
|
else:
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user