def serve(self, callback):
        self.callback = callback
        while self.run:
            try:
                self.handle_request()
            except __HOLE__:
                pass
        self.server_close()
dataset/ETHPy150Open farshield/pathfinder/src/pathfinder/model/crest/server.py/StoppableHTTPServer.serve