]> granicus.if.org Git - apache/commitdiff
Fix receive_request, it was using the same location in the iovec for both
authorRyan Bloom <rbb@apache.org>
Fri, 11 Oct 2002 15:26:10 +0000 (15:26 +0000)
committerRyan Bloom <rbb@apache.org>
Fri, 11 Oct 2002 15:26:10 +0000 (15:26 +0000)
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

server/mpm/experimental/perchild/perchild.c

index 55aa7a5d2705b566560a7172f004535d83d0201e..6c5f6cf8403f33cd2db4df5dde87cd4554fe1155 100644 (file)
@@ -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;