Issue Details (XML | Word | Printable)

Key: MODPYTHON-37
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Graham Dumpleton
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
mod_python

Add apache.register_cleanup().

Created: 20/Mar/05 07:09 PM   Updated: 05/Mar/06 03:05 PM
Return to search
Component/s: core
Affects Version/s: 3.1.4
Fix Version/s: 3.2.7

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works register_cleanup.diff.txt 2005-08-06 09:39 AM Graham Dumpleton 4 kB

Resolution Date: 06/Aug/05 06:11 PM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #230540 Sat Aug 06 08:59:58 UTC 2005 nlehuen Fix for MODPYTHON-37 by Graham Dumpleton.
Files Changed
MODIFY /httpd/mod_python/trunk/src/_apachemodule.c
MODIFY /httpd/mod_python/trunk/src/mod_python.c
MODIFY /httpd/mod_python/trunk/lib/python/mod_python/apache.py
MODIFY /httpd/mod_python/trunk/src/include/mpversion.h