INNER CODE UNIT · Python

process_request_thread

cipi-sh/cipi · lib/cipi-crowdsec-rescue.py:217

    def process_request_thread(self, request, client_address) -> None:
        try:
            super().process_request_thread(request, client_address)
        finally:
            _slots.release()

    def finish_request(self, request, client_address) -> None:
        try:
            tls = self.ssl_context.wrap_socket(request, server_side=True)
        except (OSError, ValueError):
            # Port scan, plain HTTP, or a handshake that ran out of time.
            return
        try:
            self.RequestHandlerClass(tls, client_address, self)
        finally:
            try:
                tls.close()
            except OSError:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…