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

[Bug 57087] mod_proxy_fcgi doesn't send cgi CONTENT_LENGTH variable when the client request used Transfer-Encoding:chunked


--- Comment #9 from Luca Toscano <toscano.luca@xxxxxxxxx> ---
(In reply to Rainer Jung from comment #8)
> it is proxy-sendcl (cl for content length) not proxy-sendctl (not t in ctl).

Today is typo-day, I used sendcl in my tests but typed in here 'ctl', sorry :(
I retried to be sure, same result.

> It is a general mod_proxy feature used in modules/proxy/mod_proxy_http.c.
> I'm not sure it will help here, but worth a try.

I checked and indeed it is implemented only in _http, not _fcgi, but it is a
good pointer!

After reading a bit the code, I'd add a condition in mod_proxy_fcgi's
dispatch() to add the missing CL if TE:chunked is present, but I am not super
clear if it is possible to do such a thing from the data in request_req. It
seems to me that it shouldn't be super difficult but I need to read more code
before adding a meaningful code change. I'll try during the next days if
anybody doesn't beat me :)

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx