Index: perchild.c =================================================================== RCS file: /home/cvs/httpd-2.0/server/mpm/experimental/perchild/perchild.c,v retrieving revision 1.148 diff -u -r1.148 perchild.c --- perchild.c 31 Jul 2004 20:47:49 -0000 1.148 +++ perchild.c 2 Aug 2004 13:16:24 -0000 @@ -608,16 +608,14 @@ bucket = apr_bucket_socket_create(*csd, alloc); APR_BRIGADE_INSERT_HEAD(bb, bucket); - body = strchr(iov.iov_base, 0); - if (!body) { - return 1; - } - - body++; - bodylen = strlen(body); + body = strchr(iov.iov_base, 0); /* sender always puts '\0' at end of + * headers */ headers = iov.iov_base; headerslen = body - headers; + + body++; /* skip over '\0' between headers and body */ + bodylen = strlen(body); bucket = apr_bucket_heap_create(body, bodylen, NULL, alloc); APR_BRIGADE_INSERT_HEAD(bb, bucket);