summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/python/pyutils.c1
-rw-r--r--plugins/python/wsgi_subhandler.c1
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();