示例#1
0
 def finish_request(self, request, client_address):
     try:
         SimpleXMLRPCServer.finish_request(self, request, client_address)
     except (socket.error, AttributeError):
         # AttributeError may get thrown if the underlying socket has
         # already been closed elsewhere and _sock = None.
         pass
     finally:
         if mailpile.util.QUITTING:
             self.shutdown()
示例#2
0
 def finish_request(self, request, client_address):
     request.do_handshake()
     return SimpleXMLRPCServer.finish_request(self, request, client_address)
示例#3
0
 def finish_request(self, request, client_address):
   try:
     SimpleXMLRPCServer.finish_request(self, request, client_address)
   except (socket.error, socks.SSL.ZeroReturnError, socks.SSL.Error):
     pass