Commit b2806057 authored by Denis Bilenko's avatar Denis Bilenko

Merge pull request #400 from fantix/socket_shutdown

Fix gevent.socket.socket.shutdown()
parents b672c36d 4b41e1e1
......@@ -355,7 +355,7 @@ class socket(_socket.socket):
else:
self.hub.cancel_wait(self._read_event, cancel_wait_ex)
self.hub.cancel_wait(self._write_event, cancel_wait_ex)
self._sock.shutdown(how)
super().shutdown(how)
SocketType = socket
......
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