def handle_incoming(self, client_sock, client_addr):
        self.logger.info(client_addr % 'Connection from %s:%d')

        try:
            upstream_sock = self._connect_to_upstream()
        except (socket.error, socks.ProxyError) as e:
            self.logger.exception(e)
            return

        pool = GreenPool()
        pool.spawn_n(self._forward, client_sock, upstream_sock, 'w')
        pool.spawn_n(self._forward, upstream_sock, client_sock, 'r')
        pool.waitall()

        drop_socket(upstream_sock)
        drop_socket(client_sock)
dataset/ETHPy150Open tonyseek/rsocks/rsocks/server.py/ReverseProxyServer.handle_incoming/swapped operands of `%`