Welcome! Log In Create A New Profile


$request_header_length and $request_body_length?

July 08, 2013 10:20PM

I am trying to diagnose a weird 408 error problem on nginx.

My theory is that the client might be using some kind of crack making the request body too short for Content-Length header, so nginx waits more data and ultimately fails at 60 seconds timeout.

I tried to add few more log options, like $content_length and $request_length, however, the $request_length includes all the header and body length, thus can not get actuall body length.

Does nginx provide variables like $request_header_length and $request_body_length?

Thanks in advance!
Subject Author Posted

$request_header_length and $request_body_length?

est July 08, 2013 10:20PM

Re: $request_header_length and $request_body_length?

Maxim Dounin July 09, 2013 08:04AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 91
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready