--add-header option

This commit is contained in:
roberto@dj1
2011-05-28 05:20:48 -05:00
parent 54b40f5978
commit d0c6dff83e
6 changed files with 48 additions and 16 deletions
+2
View File
@@ -719,6 +719,7 @@ int uwsgi_python_manage_options(int i, char *optarg) {
return 1;
#ifdef UWSGI_INI
case LONG_ARGS_INI_PASTE:
uwsgi.ini = optarg;
if (uwsgi.ini[0] != '/') {
@@ -728,6 +729,7 @@ int uwsgi_python_manage_options(int i, char *optarg) {
up.paste = uwsgi_concat2("config:", uwsgi.ini);
}
return 1;
#endif
case LONG_ARGS_PASTE:
up.paste = optarg;
return 1;