Hi.
After a long, long time, I'm reviewing the RADOS plugin with the
intent of adding a couple features. But i can't make the current
version work with any non-root mountpoint.
the issue seems related to this line in rados.c [1]:
wsgi_req->app_id = uwsgi_get_app_id(
wsgi_req,
wsgi_req->appid, wsgi_req->appid_len,
rados_plugin.modifier1);
this line hasn't been modified since the first code draft, and was
copied from the glusterfs plugin, where it's also unchanged.
in my tests, the `wsgi_req->appid` field is empty (null pointer,
len=0), so the uwsgi_get_app_id() always returns -1.
has this field changed in recent versions? or maybe it wasn't the
correct field from the start?
[1]https://github.com/javierguerragiraldez/uwsgi/blob/master/plugins/rados/rados.c#L547
--
Javier
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi