OSDir

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

Re: [users@httpd] Faking the CGI content_length environment variable


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.
>
> Can anybody suggest how I can make such a situation happen? I've tried
> doing so with curl and also using a manual telnet connection. Both
> times I produced a POST request with a content-length header value
> greater than the size of the request body. However, when doing
> that, Apache simply waits for more input and then times-out.
>
> Does anybody know how this could have happened? This is Apache 2.4.25
> on Debian 9.4

Something like mod_deflate or mod_substitute changing the length>

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