httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Gifford <>
Subject Re: [users@httpd] Is it possible to keep a module running after closing a connection?
Date Mon, 31 Mar 2008 22:27:18 GMT
"Brown Chris-CCB034" <> 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.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message