]> granicus.if.org Git - apache/commit
This commit gets Perchild working again. There are holes in this code
authorRyan Bloom <rbb@apache.org>
Sun, 18 Aug 2002 06:05:48 +0000 (06:05 +0000)
committerRyan Bloom <rbb@apache.org>
Sun, 18 Aug 2002 06:05:48 +0000 (06:05 +0000)
commit9884fb1fbe1a07b18a19ed71cbe1f2552fa8ca7f
treeea82647e677e617aaaee75323d1ce9cb440994ce
parent686ed840f50ab97bdfbc56bda051e967ddeebbcb
This commit gets Perchild working again.  There are holes in this code
big enough to drive a truck through, and it is NOT production quality,
but I have successfully passed file descriptors between processes and
served requests over the passed descriptors.  This code needs documenting,
and vetting still.

Also, in order to make things work, I had to insert the socket and the
data read by the original process into the bottom of the filter stack so
that the new process could use that information.  Unfortunately, that isn't
possible to do cleanly, so I search for the CORE_IN filter, and I insert
a brigade that I have created into it's ctx pointer.  This is a hack, and
it means that Perchild _only_ works if you use the core filters.  Until I
find a better way to get that information to the bottom of the filter
stack, that is just how it is going to be.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96430 13f79535-47bb-0310-9956-ffa450edef68
server/mpm/experimental/perchild/perchild.c