--pyshell and fix for wsgi.url_scheme in pep3333

This commit is contained in:
roberto@debian32
2011-08-03 15:07:15 +02:00
parent 9aad6be26a
commit cd29998b40
8 changed files with 48 additions and 14 deletions
+3
View File
@@ -18,6 +18,7 @@
#define LONG_ARGS_WEB3 LONG_ARGS_PYTHON_BASE + 8
#define LONG_ARGS_PUMP LONG_ARGS_PYTHON_BASE + 9
#define LONG_ARGS_WSGI_LITE LONG_ARGS_PYTHON_BASE + 10
#define LONG_ARGS_PYSHELL LONG_ARGS_PYTHON_BASE + 11
#define PYTHON_APP_TYPE_WSGI 0
#define PYTHON_APP_TYPE_WEB3 1
@@ -123,6 +124,8 @@ struct uwsgi_python {
char *test_module;
int pyshell;
struct uwsgi_string_list *python_path;
struct uwsgi_string_list *import_list;
struct uwsgi_string_list *post_pymodule_alias;