From: Ryan Bloom Date: Fri, 11 Oct 2002 15:26:10 +0000 (+0000) Subject: Fix receive_request, it was using the same location in the iovec for both X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=001bd03c79dcd98af4e851ab0004b8264825b22e;p=apache Fix receive_request, it was using the same location in the iovec for both headers and body. Submitted by: Randall Stewart git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97178 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/experimental/perchild/perchild.c b/server/mpm/experimental/perchild/perchild.c index 55aa7a5d27..6c5f6cf840 100644 --- a/server/mpm/experimental/perchild/perchild.c +++ b/server/mpm/experimental/perchild/perchild.c @@ -693,8 +693,8 @@ static apr_status_t receive_from_other_child(void **csd, ap_listen_rec *lr, 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; + iov[1].iov_base = request_body; + iov[1].iov_len = HUGE_STRING_LEN; msg.msg_name = NULL; msg.msg_namelen = 0;