Author martin.panter
Recipients GeorgeY, martin.panter
Date 2016-10-19.23:30:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
When I run your program on Linux (natively, and I also tried Wine), the worst behaviour I get is a busy loop as soon as a client shuts down the connection and recv() returns an empty string. I would have to force an exception in the top level code to trigger the rest of the code.

Anyway, my theory is your socket is closed in a previous handle_sock_err() call. Your KeyError from socks2addr is further evidence of this. I suggest to look at why handle_sock_err() is being called, what exceptions are being handled, where they were raised, what the contents and size of “mailbox” is, etc.

I suggest you go elsewhere for general help with Python programming (e.g. the python-list mailing list), unless it actually looks like a bug in Python.
Date User Action Args
2016-10-19 23:30:03martin.pantersetrecipients: + martin.panter, GeorgeY
2016-10-19 23:30:03martin.pantersetmessageid: <>
2016-10-19 23:30:03martin.panterlinkissue28447 messages
2016-10-19 23:30:03martin.pantercreate