mirror of
https://github.com/docker/compose.git
synced 2025-04-08 17:05:13 +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)
|
||||
|
||||
if chunk:
|
||||
stream.write(chunk.encode(stream.encoding or 'utf-8'))
|
||||
stream.write(chunk)
|
||||
stream.flush()
|
||||
else:
|
||||
break
|
||||
|
Loading…
x
Reference in New Issue
Block a user