From 5c64c1ac3f4e3088b99a7720e7c3b0fc2a1d002d Mon Sep 17 00:00:00 2001 From: "roberto@natty32" Date: Fri, 25 Mar 2011 19:11:53 +0100 Subject: [PATCH] fixed post-buffering without pep3333-input --- plugins/python/wsgi_handlers.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/python/wsgi_handlers.c b/plugins/python/wsgi_handlers.c index 0e6f30c9..8dae5f29 100644 --- a/plugins/python/wsgi_handlers.c +++ b/plugins/python/wsgi_handlers.c @@ -428,6 +428,9 @@ int uwsgi_request_wsgi(struct wsgi_request *wsgi_req) { goto clear; } } + else { + wsgi_req->async_post = fdopen(wsgi_req->poll.fd, "r"); + } } else { // read to disk if post_cl > post_buffering