This commit is contained in:
roberto@goyle
2011-02-16 08:12:53 +01:00
3 changed files with 16 additions and 8 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ static PyObject *uwsgi_Input_read(uwsgi_Input *self, PyObject *args) {
if (uwsgi.post_buffering > 0) {
fd = -1;
if (self->wsgi_req->post_cl <= (size_t) uwsgi.post_buffering) {
fd = fileno(self->wsgi_req->async_post);
fd = fileno((FILE *)self->wsgi_req->async_post);
}
}
else {