mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-10-04 07:58:33 +00:00
remove a bit of pollution in the logs
This commit is contained in:
@@ -27,8 +27,6 @@ PyObject *python_call(PyObject *callable, PyObject *args, int catch) {
|
||||
}
|
||||
#endif
|
||||
|
||||
uwsgi_log("python called\n");
|
||||
|
||||
return pyret;
|
||||
}
|
||||
|
||||
|
||||
@@ -214,7 +214,7 @@ int uwsgi_request_wsgi(struct wsgi_request *wsgi_req) {
|
||||
|
||||
if (wsgi_req->uh.modifier2 == 4) {
|
||||
// for persistent connections
|
||||
uwsgi_log("LEAVE OPEN\n");
|
||||
// TODO move it to a generic modifier (WSGI independent)
|
||||
wsgi_req->leave_open = 1;
|
||||
}
|
||||
|
||||
@@ -294,9 +294,7 @@ int uwsgi_request_wsgi(struct wsgi_request *wsgi_req) {
|
||||
}
|
||||
|
||||
|
||||
uwsgi_log("before subhandler %d\n", wsgi_req->leave_open);
|
||||
wsgi_req->async_result = wi->request_subhandler(wsgi_req, wi);
|
||||
uwsgi_log("after subhandler %d\n", wsgi_req->leave_open);
|
||||
|
||||
if (wsgi_req->async_result) {
|
||||
|
||||
|
||||
@@ -204,7 +204,6 @@ clear:
|
||||
}
|
||||
if (wsgi_req->async_post && !wsgi_req->fd_closed) {
|
||||
if (!wsgi_req->leave_open) {
|
||||
uwsgi_log("FCLOSE()\n");
|
||||
fclose(wsgi_req->async_post);
|
||||
}
|
||||
if (!uwsgi.post_buffering || wsgi_req->post_cl <= (size_t) uwsgi.post_buffering) {
|
||||
|
||||
Reference in New Issue
Block a user