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-Tag: 2.0.44~313 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=571d1a12284414f6f0715f7edd97d27538c3ce4f;p=thirdparty%2Fapache%2Fhttpd.git 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 55aa7a5d270..6c5f6cf8403 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;