py3 support errors
parent
26b0e5ca8f
commit
a511463f67
|
@ -609,7 +609,7 @@ class AsyncoreEchoServer(threading.Thread):
|
||||||
elif err.args[0] == ssl.SSL_ERROR_EOF:
|
elif err.args[0] == ssl.SSL_ERROR_EOF:
|
||||||
return self.handle_close()
|
return self.handle_close()
|
||||||
raise
|
raise
|
||||||
except socket.error, err:
|
except socket.error as err:
|
||||||
if err.args[0] == errno.ECONNABORTED:
|
if err.args[0] == errno.ECONNABORTED:
|
||||||
return self.handle_close()
|
return self.handle_close()
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue