hi folks
i've got some trouble with the perchild MPM in httpd-2.0.43.
Especially forwarding connections to other childs seems to be
a little bit buggy.
an little bug in receive_from_other_child() was:
> iov[0].iov_base = headers;
> iov[0].iov_len = HUGE_STRING_LEN;
> iov[0].iov_base = request_body;
> iov[0].iov_len = HUGE_STRING_LEN;
perhaps should be:
iov[0].iov_base = headers;
iov[0].iov_len = HUGE_STRING_LEN;
iov[1].iov_base = request_body;
iov[1].iov_len = HUGE_STRING_LEN;
with this correction it mostly works, but sometimes the connection
passing fails, no child seems to receive the connection.
also there are some other strange things:
* on connection forwarding, in the receiving child, perchild_post_read()
is called twice, first w/ the right request, then an empty one.
i've modified the code to drop these requests (return DECLINE;)
* sometimes the socket fd (sock->socketdes) changes on return
from receive_from_other_child() to worker_thread to an
enormously high number (i.e.136489464)
could anyone help ?
~-n
--
Bestes Mittel gegen Mailviren: Outlook l�schen.
---------------------------------------------------------------------
Enrico Weigelt == metux ITS
Webhosting ab 5 EUR/Monat. UUCP, rawIP und vieles mehr.
phone: +49 36207 519931 www: http://www.metux.de/
fax: +49 36207 519932 email: [EMAIL PROTECTED]
cellphone: +49 174 7066481 smsgate: [EMAIL PROTECTED]
---------------------------------------------------------------------
Diese Mail wurde mit UUCP versandt. http://www.metux.de/uucp/