httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Gifford <sgiff...@suspectclass.com>
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" <Christopher.Brown@motorola.com> 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.

---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message