diff options
author | Unbit <info@unbit.it> | 2016-11-29 08:36:56 +0100 |
---|---|---|
committer | Unbit <info@unbit.it> | 2016-11-29 08:36:56 +0100 |
commit | 199d2d5b1cfdb4186da38e6e07192eb726883946 (patch) | |
tree | bb8ba2bbf6c003393b223f53f8bc810945c653b7 | |
parent | da68b9d61a5b2b62eb46da525db042cd7ffbf273 (diff) | |
download | uwsgi-199d2d5b1cfdb4186da38e6e07192eb726883946.tar.gz |
removed useless garbage introduced in #1408
-rw-r--r-- | plugins/python/pyutils.c | 1 | ||||
-rw-r--r-- | plugins/python/wsgi_subhandler.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/plugins/python/pyutils.c b/plugins/python/pyutils.c index 77041a12..f4b1ef3d 100644 --- a/plugins/python/pyutils.c +++ b/plugins/python/pyutils.c @@ -146,7 +146,6 @@ struct uwsgi_buffer *uwsgi_python_backtrace(struct wsgi_request *wsgi_req) { } - uwsgi_log("OK\n"); Py_DECREF(result); goto end; diff --git a/plugins/python/wsgi_subhandler.c b/plugins/python/wsgi_subhandler.c index d733dcae..0116fdea 100644 --- a/plugins/python/wsgi_subhandler.c +++ b/plugins/python/wsgi_subhandler.c @@ -235,6 +235,7 @@ void *uwsgi_request_subhandler_wsgi(struct wsgi_request *wsgi_req, struct uwsgi_ if (PyTuple_SetItem(wsgi_req->async_args, 0, wsgi_req->async_environ)) { // this is a hack cleaning up bad references when using the cheating allocator + // check https://github.com/unbit/uwsgi/issues/1408 PyObject *tmp_async_args = (PyObject *) wsgi_req->async_args; if (tmp_async_args->ob_refcnt > 1) { PyErr_Clear(); |