Il giorno 11/mag/2011, alle ore 13.34, Leonid Borisenko ha scritto: > On 09.05.2011 22:48, Roberto De Ioris wrote: >>> So should I patch uWSGI source for seeking symbol different from given >>> plugin name? Or there is simpler way, which I missed? >> >> I have changed the plugin loading code to take in accoutn symlinks. >> I thing this is a better approach for packagers (or sysadmin) as defining >> aliases in the code will always require a recompilation. >> >> Check the latest tip > > It's working fine. Thanks. > > In Debian, alternatives system works through chain of symlinks. For > example: /usr/lib/uwsgi/plugins/python_plugin.so -> > /etc/alternatives/uwsgi-plugin-python -> > /usr/lib/uwsgi/plugins/python26_plugin.so. First two files are symlinks > and last is the real plugin's shared library. So I've extended symlink > resolving code in plugins.c for walking through symlinks chain. Patch > (for current tip) is attached. > >
Applied thanks -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
