diff options
Diffstat (limited to 'plugins/python/wsgi_subhandler.c')
-rw-r--r-- | plugins/python/wsgi_subhandler.c | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |