[Python] python-proxy: Connection reuse does not print new logs for subsequent requests

Discussão em 'Python' iniciado por Stack, Agosto 16, 2025.

  1. Stack

    Stack Membro Participativo

    I'm using pproxy to run a local HTTP proxy that forwards requests to a remote SOCKS5 server.

    Problem:


    • The first request on a new TCP connection prints logs correctly.


    • When connection reuse (keep-alive) is used, subsequent requests over the same connection do not produce any new log output.

    I want to ensure that logs are printed for every request, even if the TCP connection is reused.

    Is there a way in pproxy to log each request individually, including requests on reused connections? Are there recommended workarounds or hooks to achieve this?

    Continue reading...

Compartilhe esta Página