Re: Faking the CGI content_length environment variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On 29 Mar 2018, at 18:22, Eric Covener <covener@xxxxxxxxx> wrote:
> 
> On Thu, Mar 29, 2018 at 11:11 AM, Andrew Beverley <andy@xxxxxxxxxxx> wrote:
>> Dear all,
>> 
>> I am trying to debug a fastcgi server-side application problem, which I
>> believe was caused by the value of the CONTENT_LENGTH environment
>> variable not matching the size of the request body sent to the
>> application.
>> 
>> In order to debug, I need to recreate the situation, which was caused
>> by an unknown client request.

I haven’t verified whether this’ll do the job for you, but have you tried
using RequestHeader (mod_headers) to fake it?

> Something like mod_deflate or mod_substitute changing the length>

I’ve certainly encountered problems with filters invalidating headers.
And (in the distant past) fixed some of them.  It’s entirely possible
there are still unfixed cases.

— 
Nick Kew
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux