I incorrectly indicated the option I used.  I am using 'proxy-sendchunked' with 
mod_proxy_http to a uwsgi --http-socket.  Tomorrow I will tcpdump the backend 
communication to be sure that it's chunking all the way through from the 
client, through apache (via mod_proxy_http) to uwsgi. I'll also switch back to 
mod_proxy_uwsgi and validate that the apache uwsgi module fails to pass chunked 
data.

Steve

[spierce@uno1-dev6 conf.d]$ pwd
/etc/httpd/conf.d 
[spierce@uno1-dev6 conf.d]$ grep SetEnv *
ssl.conf:SetEnv proxy-sendchunked 1


-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Roberto De Ioris
Sent: Saturday, September 07, 2013 11:49 PM
To: uWSGI developers and users list
Subject: Re: [uWSGI] mod_uwsgi with chunked request body causes 411


> Looks like I'm already using mod_proxy_uwsgi with apache 2.2:
>
> [spierce@w1-dev6 ~]$ cat /etc/httpd/conf.d/mod_proxy_uwsgi.conf
> LoadModule proxy_uwsgi_module 
> /usr/lib64/httpd/modules/mod_proxy_uwsgi.so
>
> [spierce@w1-dev6 ~]$ strings 
> /usr/lib64/httpd/modules/mod_proxy_uwsgi.so | grep mod_proxy 
> mod_proxy_uwsgi.so mod_proxy_uwsgi.c
>
> I was able to use mod_proxy_http and 'setenv send_cl 1' and pointed it 
> at theuwsgi  http-socket. That is slow, but works fine for now.  Some 
> helpful folks on the apache list indicated that the mod_proxy_uwsgi 
> module may need to be updated to support chunked requests. That 
> message is quoted below.
>
> If you want me to, I'll look at the mod_proxy_http and mod_proxy_uwsgi 
> sources and see if I can figure out how to support chunked requests. 
> Let me know if you want me to do this, or if you'd like to do it instead.
>
> Thanks,
>
> Steve
>
>

If i understand correctly this option collect the whole response and then 
applies a content-length to it.

This is not a solution as you will lose the "realtime" of chunked input (i am 
assuming you want to use the uWSGI chunked input api)

Are you sure mod_proxy_http does not work without it in chunked mode ?

--
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to