summaryrefslogtreecommitdiff
path: root/source4/web_server
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-11-22 00:46:59 +0000
committerMatthieu Patou <mat@matws.net>2012-11-22 14:57:51 -0800
commitbfc6a9e21d2955d0662e4179448c7031806ad6d7 (patch)
tree0fc0bfe5fd21b839ac0c52c56408a9ec1c3d8ab7 /source4/web_server
parentb89e7f6e51011cce264a9a0c8796a5d4811007d7 (diff)
downloadsamba-bfc6a9e21d2955d0662e4179448c7031806ad6d7.tar.gz
samba-bfc6a9e21d2955d0662e4179448c7031806ad6d7.tar.bz2
samba-bfc6a9e21d2955d0662e4179448c7031806ad6d7.zip
web_server: the web server is not multi-process, indicate so in WSGI.
This is a requirement for some of the paster middleware used by SWAT2. Reviewed-by: Matthieu Patou <mat@matws.net>
Diffstat (limited to 'source4/web_server')
-rw-r--r--source4/web_server/wsgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/web_server/wsgi.c b/source4/web_server/wsgi.c
index 17b9074700..00c9535cac 100644
--- a/source4/web_server/wsgi.c
+++ b/source4/web_server/wsgi.c
@@ -285,7 +285,7 @@ static PyObject *create_environ(bool tls, int content_length, struct http_header
PyDict_SetItemString(env, "wsgi.version", py_val);
Py_DECREF(py_val);
PyDict_SetItemString(env, "wsgi.multithread", Py_False);
- PyDict_SetItemString(env, "wsgi.multiprocess", Py_True);
+ PyDict_SetItemString(env, "wsgi.multiprocess", Py_False);
PyDict_SetItemString(env, "wsgi.run_once", Py_False);
py_val = PyString_FromString("HTTP/1.0");
if (py_val == NULL) goto error;