Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order of application options matter to uWsgi #26

Open
lunkwill42 opened this issue Nov 18, 2019 · 1 comment
Open

Order of application options matter to uWsgi #26

lunkwill42 opened this issue Nov 18, 2019 · 1 comment

Comments

@lunkwill42
Copy link

The uwsgi::app class uses a template that will indiscriminately sort the application options alphabetically. This breaks our uwsgi configuration, since the ordering of uwsgi config options have meaning in the uwsgi config parser:

https://uwsgi-docs.readthedocs.io/en/latest/ParsingOrder.html

In our specific case: We have some apps that run on Python 2, and some that run on Python 3. However, the sorting of the options will cause the plugin option to be sorted after the module option, meaning that uwsgi will attempt to load the application module using the wrong plugin.

@lunkwill42
Copy link
Author

Further evidenced by unbit/uwsgi#1074 - this is the intended behavior of uwsgi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant