From: Hendrik M. <Hen...@we...> - 2005-06-15 12:34:38
|
Hello, the attached patch fixes a problem when using socket.setdefaulttimeout(x) (new in Python 2.3) together with the SecureXMLRPCServer (from the examples directory). The patch wraps socket.recv(buffer, flag) and discards SSL.WantReadError Exceptions. This exception is raised if setdefaulttimeout is used. The exception is not handled in the socket module, because it did not know about such an Exception in this place. I do not know if this is the right way to do it. It is more a workaround. Hendrik |