Hi, I am looking for a way to filter requests in master process, or anywhere elese *before* the request is dispatched to any worker.
One application for this - throttling of request rate based ony various criterias (controlled by request handlers), to avoid consuming workers when request must be delayed/rejected. Something like uwsgi::preprocess(\&filter) where filter() receives regular PSGI environment and has a chance to either pass a request to worker (probably modified) or respond on its own. Is there anything in uwsgi that could be used for this purpose? -- Best regards, Alexander. _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
