So this is a pretty generalized and ambiguous question, which I apologize for up front.
Basically, I'm in a mod_perl environment (mp2/apache2.2/prefork) and have an application setup to utilize Authen, Response and Cleanup handlers. In one environment, this works completely fine. In another, new environment, something I've never seen happens: the cleanup phase runs after the Authen phase
and the response phase.
I know I lack on some details here, but I'm really hoping there's an easy answer for this. Is there any way to fall into a situation where the Cleanup phase runs twice within the same request cycle? Surely it's something with the new environment, but the two are so identical I can't put my finger on any difference.
I'm not exactly stuck between a rock and a hard place, I have an ugly work-around that will get me out of this double-cleanup situation, but I'd rather it work... like I'd expect: one cleanup invocation after the response phase and after the socket has closed.
Thanks in advance for any help.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.