[PATCH 6/7] web_server: the web server is not multi-process, indicate so in WSGI.
Jelmer Vernooij
jelmer at samba.org
Wed Nov 21 18:46:59 MST 2012
This is a requirement for some of the paster middleware used by SWAT2.
---
source4/web_server/wsgi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source4/web_server/wsgi.c b/source4/web_server/wsgi.c
index 17b9074..00c9535 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;
--
1.8.0
More information about the samba-technical
mailing list