git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b89e7f6
)
web_server: the web server is not multi-process, indicate so in WSGI.
author
Jelmer Vernooij
<jelmer@samba.org>
Thu, 22 Nov 2012 00:46:59 +0000
(
00:46
+0000)
committer
Matthieu Patou
<mat@matws.net>
Thu, 22 Nov 2012 22:57:51 +0000
(14:57 -0800)
This is a requirement for some of the paster middleware used by SWAT2.
Reviewed-by: Matthieu Patou <mat@matws.net>
source4/web_server/wsgi.c
patch
|
blob
|
history
diff --git
a/source4/web_server/wsgi.c
b/source4/web_server/wsgi.c
index 17b9074700b0af56e40ce3ee170513a00f842985..00c9535cac4388f85eb740e170d9d50fe93fd968 100644
(file)
--- 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_
Tru
e);
+ PyDict_SetItemString(env, "wsgi.multiprocess", Py_
Fals
e);
PyDict_SetItemString(env, "wsgi.run_once", Py_False);
py_val = PyString_FromString("HTTP/1.0");
if (py_val == NULL) goto error;