Skip to content

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