disable nonblocking sockets again
parent
0fe637c11e
commit
5ded3dcd24
3
irc.py
3
irc.py
|
@ -116,7 +116,8 @@ class Bot(asynchat.async_chat):
|
|||
except:
|
||||
sock = ssl.wrap_socket(sock, ssl_version=ssl.PROTOCOL_TLSv1,
|
||||
cert_reqs=ssl.CERT_OPTIONAL, ca_certs=self.ca_certs)
|
||||
sock.setblocking(False)
|
||||
# FIXME: this doesn't work with SSL enabled
|
||||
#sock.setblocking(False)
|
||||
self.set_socket(sock)
|
||||
|
||||
def handle_connect(self):
|
||||
|
|
Loading…
Reference in New Issue