Apache Mod-Python - Updated: (MODPYTHON-37) Add apache.register_cleanup().

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > August 2005 > Updated: (MODPYTHON-37) Add apache.register_cleanup().





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Updated: (MODPYTHON-37) Add apache.register_cleanup().
Graham Dumpleton (JIRA)

2005-08-05, 8:45 pm

[ 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 against 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 termination
> is through req.server.register_cleanup(). Since the cleanup method isn't specific
> to a request, it seems that there should also be an apache.register_cleanup(). This
> would allow cleanup function registration upon child termination to be done from
> a module imported using the PythonImport directive.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com