08-06-05 01:45 AM
[ http://issues.apache.org/jira/brows...HON-37?page=all ]
Graham Dumpleton updated MODPYTHON-37:
--------------------------------------
Attachment: register_cleanup.diff.txt
Added diff as attachment that implements desired functionality. Diff was aga
inst the
latest code in subversion repository.
> Add apache.register_cleanup().
> ------------------------------
>
> Key: MODPYTHON-37
> URL: http://issues.apache.org/jira/browse/MODPYTHON-37
> Project: mod_python
> Type: New Feature
> Components: core
> Versions: 3.1.4
> Reporter: Graham Dumpleton
> Priority: Minor
> Attachments: register_cleanup.diff.txt
>
> The only way to register cleanup methods to be executed upon child termina
tion
> is through req.server.register_cleanup(). Since the cleanup method isn't s
pecific
> to a request, it seems that there should also be an apache.register_cleanu
p(). This
> would allow cleanup function registration upon child termination to be don
e from
> a module imported using the PythonImport directive.
[ Post a follow-up to this message ]
|