> ----- Oryginalna wiadomoÅÄ ----- >> Od: "Roberto De Ioris" <[email protected]> >> Do: "uWSGI developers and users list" <[email protected]> >> WysÅane: wtorek, 10 styczeÅ 2012 20:05:42 >> Temat: Re: [uWSGI] after req hook >> >> The plugin system already has an after_request entry point, so i can >> implement that with 3-4 lines of code. >> >> The only problem is in what to pass as argument (the one you have >> specified as 'id' in your example) >> > > This 'id' is not to do anything I needed. > I write it because post_fork_hook requires one parameter. > > I would ask for placing this feature in uwsgi-1.0 repo. > I think that will not cause any errors, and I switched it was already in > the repository. > > cgi-bin/mailman/listinfo/uwsgi >
you find it in both uwsgi and uwsgi-1.0 repos The function does not take args. The harakiri is not disabled, as i think the user should be able to choose that behavior. I will add the --no-harakiri-arh option in the next few hours. -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
