Drat. You're right. That's the wrong option. Let me investigate on Tuesday and 
I'll get back to you. I think 'proxy-sendchunked' 
(https://issues.apache.org/bugzilla/show_bug.cgi?id=50402) is the correct 
option.

Steve

-----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