On 2011-02-05 12:45, Roberto De Ioris wrote:
> --post-buffering 1
>
> will activate post buffering for every request body with a default bufsize
> of 4k. So if you have a 8k request body it will be read in two chunk.
>
> With --post-buffering-bufsize you can change the 4k default

Ah, ok. That makes sense.

As said, it didn't solve the problem with input.read() for some reason,
but after some more thinking I think it's perfectly fine that uWSGI
doesn't support read() without a size. It's better to fix libraries/apps
that rely on that working with every WSGI server, because as pointed out
it's not required and it's also very easy to work around that in Python
anyway...

I'll submit a bug report, and probably a patch, to WebOb later about not
relying on non-required features. Should be a small fix, really. WebOb
(and therefore Pyramid and others) should work perfectly with uWSGI when
that's fixed.

Thanks for your help, by the way!
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to