On Mon, Mar 31, 2008 at 6:27 PM, Scott Gifford
<[EMAIL PROTECTED]> wrote:
> "Brown Chris-CCB034" <[EMAIL PROTECTED]> writes:
>
>  > I'm looking at a situation where we'd want to close a connection (for 
> example
>  > the message size is too large) but we'd like to keep the thread active so 
> that
>  > we can perform some other steps before releasing the thread.  Is this 
> possible?
>  >   I've been looking through the apache header files and nothing stands out 
> to
>  > me as a method that would immediately close the connection without 
> releasing
>  > the thread.
>
>  In the process model, you just fork() twice and continue your work in
>  the grandchild process.  Not sure with the threaded model, but
>  probably you could just create another thread to do your work, and set
>  it up to not require joining.
>
>  ----Scott.

You can do your followup processing in the logger hook, but you'll
have to stash away any data you need between hooks.

-- 
Eric Covener
[EMAIL PROTECTED]

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to