Exemplo n.º 1
0
 def finish_request(self, request, client_address):
     """Finish one request by instantiating RequestHandlerClass."""
     try:
         BaseServer.finish_request(self, request, client_address)
     except (IOError) as err:
         if hasattr(err, 'errno') and err.errno == 32:
             logger.warning("Broken pipe exception, ignoring")
         else:
             logger.exception("Error in request handler")
Exemplo n.º 2
0
 def finish_request(self, request, client_address):
     """Finish one request by instantiating RequestHandlerClass."""
     try:
         BaseServer.finish_request(self, request, client_address)
     except (IOError) as err:
         if hasattr(err, 'errno') and err.errno == 32:
             logger.warning("Broken pipe exception, ignoring")
         else:
             logger.exception("Error in request handler")
 def finish_request(self, request, client_address):
     BaseServer.finish_request(self, request, client_address)
Exemplo n.º 4
0
 def finish_request(self, request, client_address):
     BaseServer.finish_request(self, request, client_address)
 def finish_request(self, request, client_address):
     signal.signal(signal.SIGHUP, signal.SIG_IGN)
     BaseServer.finish_request(self, request, client_address)