Kaydet (Commit) 40711cb5 authored tarafından Joffrey F's avatar Joffrey F Kaydeden (comit) Joffrey F

Fix cancellable streams on Windows clients + HTTPS transport

Signed-off-by: 's avatarJoffrey F <joffrey@docker.com>
üst 95ad903c
......@@ -57,6 +57,8 @@ class CancellableStream(object):
else:
sock = sock_fp._sock
if isinstance(sock, urllib3.contrib.pyopenssl.WrappedSocket):
sock = sock.socket
sock.shutdown(socket.SHUT_RDWR)
sock.close()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment