> current tip.
> python 3.1
>
> I'm testing cache framework, and:
> Through uWSGI -> python -> myapp everything works ok.
> But I can't start to run cache directly from Nginx.
> uWSGI prints out nothing.
>
>
> nginx log:
> 2011/03/11 10:31:21 [error] 5407#0: *1 upstream prematurely closed
> connection while reading response header from upstream, client: 127.0.1.1,
> server: t3, request: "GET /c/ HTTP/1.1", upstream:
> "uwsgi://unix:/tmp/uwsgi-t3.sock:", host: "t3"
>
> nginx conf:
> location /c/ {
> uwsgi_pass unix:/tmp/uwsgi-t3.sock;
>
> uwsgi_modifier1 111;
> uwsgi_modifier2 3;
> uwsgi_param key x;
> }
>
> in app:
> uwsgi.cache_set('x', '1234')
Oops, i have made a bit of mess in the doc/code.
The modifier2 for dictonary based is coded as 4, but on doc it is always
reported as 3...
If you set as 4 it should work, i will add 3 in the code (as it is faster
than fixing the doc :P )
So 3 and 4 will do the same thing :)
--
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi