diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/server/sws.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/server/sws.c b/tests/server/sws.c index 7902c035f..84a5b34b0 100644 --- a/tests/server/sws.c +++ b/tests/server/sws.c @@ -584,6 +584,7 @@ static int get_request(curl_socket_t sock, struct httprequest *req) /*** end of httprequest init ***/ while (req->offset < REQBUFSIZ-1) { + if(pipereq_length && pipereq) { if(pipereq_length) { memmove(reqbuf, pipereq, pipereq_length); got = pipereq_length; |