You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Joey Ekstrom <jc...@gmail.com> on 2005/06/10 23:35:04 UTC

Protocol handler keeping a connection, but returning thread to MPM

I am interested in adding functionality to allow a protocol handler to
keep a connection open, so that I can send notifications down the
socket later, but return the thread to be used by the mpm.  These
connections will be held for long periods of time, so keeping them
tied to a thread isn't really an option.  Has this type of
functionality been discussed?

I've done some preliminary work, and it appear that by adding a field
to the connection_rec stuct, to signal the MPM on whether or not to
destroy the connection, it should be  prettyable to do this pretty
easily.

I realize that this will require modifing all the distinct MPMs, or
adding another query flag.  What other problems do you forsee?

-Joey