fixed a post-buffering bug

This commit is contained in:
roberto@debian32
2011-08-17 12:42:12 +02:00
parent bc01d25068
commit 14b403c046
5 changed files with 13 additions and 4 deletions
+1
View File
@@ -27,6 +27,7 @@ void *uwsgi_request_subhandler_wsgi(struct wsgi_request *wsgi_req, struct uwsgi_
Py_DECREF(pydictvalue);
}
if (wsgi_req->uh.modifier1 == UWSGI_MODIFIER_MANAGE_PATH_INFO) {
wsgi_req->uh.modifier1 = 0;
pydictkey = PyDict_GetItemString(wsgi_req->async_environ, "SCRIPT_NAME");