rmmh / skybot

Python IRC bot
https://github.com/rmmh/skybot/wiki
The Unlicense
250 stars 171 forks source link

Prevent ssl disconnects #138

Closed jsravn closed 8 years ago

jsravn commented 9 years ago

The self described hack doesn't seem to work in python 2.7, and I'm not sure it's intended purpose. Whenever it gets hit, I get the error 'TypeError: argument of type 'int' is not iterable' and skybot stops working.

I've removed it here and have had continuous uptime against an ssl irc connection for a couple of weeks.

If you can let me know the removed code's intended use, I can try fixing the original problem in a better way.

rmmh commented 8 years ago

Python 2.7 SSL is a mess. They backported some Python 3 SSL features to some of the later 2.7.x builds, so the behavior changed at some point.