Skip to content

accumulate the total bytes received from client requests using r->request_length #1998

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

finditfun
Copy link

The $request_length variable records only the size of the request line and headers during the CONNECT method in this module, and does not include the TLS handshake or request body bytes transmitted after the tunnel is established.

In the code, the subsequent bytes read from the client are added to r->request_length, allowing observation of the total packet size sent by clients in forward proxy requests via the $request_length field in logs.

…uest_length

The $request_length variable records only the size of the request line and headers during the CONNECT method in this module, and does not include the TLS handshake or request body bytes transmitted after the tunnel is established. 

In the code, the subsequent bytes read from the client are added to r->request_length, allowing observation of the total packet size sent by clients in forward proxy requests via the $request_length field in logs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant