Change call to serve_forever into a "while (1) handle_request()" loop.
In python 2.6, the implementation of serve_forever changed and it invokes a new method, _handle_request_noblock, instead of handle_request. The former is not overridden by m2crypto resulting in m2crypto specific exceptions (SSLError) not being caught.
Please register or sign in to comment