From: Joe Orton Date: Mon, 24 Mar 2014 17:20:47 +0000 (+0000) Subject: * support/ab.c (write_request): Avoid redundant write(,,0) preceding X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b41ad5891f5594260e65e3f444ea921edc8190ac;p=thirdparty%2Fapache%2Fhttpd.git * 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 --- diff --git a/support/ab.c b/support/ab.c index a407ca06d2c..b77bdd99f18 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");