diff --git a/plugins/python/python_plugin.c b/plugins/python/python_plugin.c index 1bb63d82..9a429026 100644 --- a/plugins/python/python_plugin.c +++ b/plugins/python/python_plugin.c @@ -1,5 +1,13 @@ #include "uwsgi_python.h" +/* + + This is the official python plugin, the one with the modifier1 mapped to 0 + + Since uWSGI 1.0 it is heavily based on Graham Dumpleton mod_wsgi (for Apache) + +*/ + extern struct uwsgi_server uwsgi; struct uwsgi_python up; diff --git a/plugins/router_spnego/router_spnego.c b/plugins/router_spnego/router_spnego.c index e03016a8..5ed20ae0 100644 --- a/plugins/router_spnego/router_spnego.c +++ b/plugins/router_spnego/router_spnego.c @@ -1,11 +1,17 @@ -#include "../../uwsgi.h" - -#ifdef UWSGI_ROUTING +#include #include extern struct uwsgi_server uwsgi; +/* + + At the first request (without authentication) uWSGI sends back a token + The client resend-the request with its token + Following requests could need a new token or are simply accepted + +*/ + // log errors... static void uwsgi_spnego_err(OM_uint32 err_maj, OM_uint32 err_min) { @@ -197,12 +203,6 @@ static void router_spnego_register(void) { } struct uwsgi_plugin router_spnego_plugin = { - .name = "router_spnego", .on_load = router_spnego_register, }; -#else -struct uwsgi_plugin router_spnego_plugin = { - .name = "router_spnego", -}; -#endif