mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-10-04 16:08:31 +00:00
fixed plugin value in uwsgi.opt
This commit is contained in:
@@ -910,6 +910,7 @@ int main(int argc, char *argv[], char *envp[]) {
|
||||
|
||||
plugins_requested = getenv("UWSGI_PLUGINS");
|
||||
if (plugins_requested) {
|
||||
plugins_requested = uwsgi_concat2(plugins_requested, "");
|
||||
char *p = strtok(plugins_requested, ",");
|
||||
while (p != NULL) {
|
||||
uwsgi_load_plugin(-1, p, NULL, 0);
|
||||
@@ -2542,7 +2543,7 @@ static int manage_base_opt(int i, char *optarg) {
|
||||
uwsgi.allowed_modifiers = optarg;
|
||||
return 1;
|
||||
case LONG_ARGS_PLUGINS:
|
||||
p = strtok(optarg, ",");
|
||||
p = strtok(uwsgi_concat2(optarg, ""), ",");
|
||||
while (p != NULL) {
|
||||
#ifdef UWSGI_DEBUG
|
||||
uwsgi_debug("loading plugin %s\n", p);
|
||||
|
||||
Reference in New Issue
Block a user