Updated: (MODPYTHON-37) Add apache.register_cleanup().
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Mod-Python > Updated: (MODPYTHON-37) Add apache.register_cleanup().




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:52 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register