summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Bloom <rbb@apache.org>2002-10-11 17:26:10 +0200
committerRyan Bloom <rbb@apache.org>2002-10-11 17:26:10 +0200
commit571d1a12284414f6f0715f7edd97d27538c3ce4f (patch)
tree677ce210c07169f8e2f03745bac26189c6331fd0
parentFix the docs for ChildPerUserId. (diff)
downloadapache2-571d1a12284414f6f0715f7edd97d27538c3ce4f.tar.xz
apache2-571d1a12284414f6f0715f7edd97d27538c3ce4f.zip
Fix receive_request, it was using the same location in the iovec for both
headers and body. Submitted by: Randall Stewart <randall@stewart.chicago.il.us> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97178 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--server/mpm/experimental/perchild/perchild.c4
1 files changed, 2 insertions, 2 deletions
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;