From c9e759bc14019eaac36b094a2c96afab944ef470 Mon Sep 17 00:00:00 2001 From: "roberta@mrspurr" Date: Sun, 14 Aug 2011 07:46:29 +0200 Subject: [PATCH] allow threads in gateways --- uwsgi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uwsgi.c b/uwsgi.c index bef9ea0a..38b4481f 100644 --- a/uwsgi.c +++ b/uwsgi.c @@ -1970,7 +1970,7 @@ skipzero: #ifdef UWSGI_THREADING - if (uwsgi.sockets) { + if (uwsgi.sockets || uwsgi.gateways_cnt) { if (uwsgi.has_threads) { if (uwsgi.threads > 1) uwsgi.current_wsgi_req = threaded_current_wsgi_req;