def get_request(self): """HTTPServer method, overridden.""" request, client_address = self.socket.accept() # It's a loopback connection, so setting the timeout # really low shouldn't affect anything, but should make # deadlocks less likely to occur. request.settimeout(10.0) return (request, client_address)
def get_request(self): """HTTPServer method, overridden.""" request, client_address = self.socket.accept() request.settimeout(10.0) return request, client_address