Put it in a queue and have a separate process work the queue. Don't try so hard to cram it into the web server.
On 12/28/10, Mike Meyer <mwm-keyword-apache.b9a...@mired.org> wrote: > I've got a startup design issue with a proxy module for a proprietary > protocol. > > Basically, the protocol *requires* that a failed request be reversed - > even if the client doesn't get told the reversal succeeds. If apache > crashes holding an unacknowledged reversal request, then the module > needs to complete the reversal when it starts again. I'd like to do > this ASAP after a restart - which means at some point during > initialization rather than waiting for the first request from a > client. > > Is there some sane place during system initialization to hang this? Or > should I just punt, and wait for the first client request to come in? > > Thanks, > <mike > -- > Mike Meyer <m...@mired.org> http://www.mired.org/consulting.html > Independent Network/Unix/Perforce consultant, email for more information. > > O< ascii ribbon campaign - stop html mail - www.asciiribbon.org > -- Sent from my mobile device Make a Small Loan, Make a Big Difference - Check out Kiva.org to Learn How!