edge triggered events support

This commit is contained in:
roberto@natty32
2011-04-18 17:07:13 +02:00
parent 1dd754a0d5
commit 4a57115336
13 changed files with 584 additions and 34 deletions
+1 -1
View File
@@ -216,7 +216,7 @@ clear:
}
if (wsgi_req->async_post && !wsgi_req->fd_closed) {
fclose(wsgi_req->async_post);
if ( (!uwsgi.post_buffering || wsgi_req->post_cl <= (size_t) uwsgi.post_buffering) && !wsgi_req->body_as_file) {
if ( !uwsgi.post_buffering || wsgi_req->post_cl <= (size_t) uwsgi.post_buffering) {
wsgi_req->fd_closed = 1;
}
}