mirror of https://github.com/docker/docker-py.git
Merge 1eda4a6868 into 6e6a273573
This commit is contained in:
commit
f207fef7ea
|
|
@ -173,4 +173,5 @@ class ExecApiMixin:
|
|||
if stream:
|
||||
return CancellableStream(output, res)
|
||||
else:
|
||||
res.close()
|
||||
return output
|
||||
|
|
|
|||
|
|
@ -69,3 +69,5 @@ class CancellableStream:
|
|||
|
||||
sock.shutdown(socket.SHUT_RDWR)
|
||||
sock.close()
|
||||
|
||||
self._response.close()
|
||||
|
|
|
|||
Loading…
Reference in New Issue