コード例 #1
0
ファイル: httpd.py プロジェクト: BjarniRunar/Mailpile
 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
ファイル: httpd.py プロジェクト: EricSchles/PyPagekite
 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