Commit 99c98d94 authored by Joe Orton's avatar Joe Orton
Browse files

* support/ab.c (test): Treat POST data as a binary blob not a C

string.

PR: 12981
Submitted by: Matthew H. Gerlach <mgerlach@lightsurf.com>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@161483 13f79535-47bb-0310-9956-ffa450edef68
parent 3844dcb9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1621,7 +1621,7 @@ static void test(void)
            return;
        }
        strcpy(buff, request);
        strcpy(buff + reqlen, postdata);
        memcpy(buff + reqlen, postdata, postlen);
        request = buff;
    }