From 31badda9f40a9660f8c504489164d2d58a672f79 Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Mon, 24 Mar 2014 17:20:47 +0000 Subject: [PATCH] * support/ab.c (write_request): Avoid redundant write(,,0) preceding the write() of the request. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1580928 13f79535-47bb-0310-9956-ffa450edef68 --- support/ab.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/support/ab.c b/support/ab.c index a407ca06d2..b77bdd99f1 100644 --- a/support/ab.c +++ b/support/ab.c @@ -95,7 +95,7 @@ * ab - or to due to a change in the distribution it is compiled with * (such as an APR change in for example blocking). */ -#define AP_AB_BASEREVISION "2.3" +#define AP_AB_BASEREVISION "2.4" /* * BUGS: @@ -722,6 +722,7 @@ static void write_request(struct connection * c) c->rwrite = reqlen; if (send_body) c->rwrite += postlen; + l = c->rwrite; } else if (tnow > c->connect + aprtimeout) { printf("Send request timed out!\n"); -- 2.40.0