]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* support/ab.c (write_request): Avoid redundant write(,,0) preceding
authorJoe Orton <jorton@apache.org>
Mon, 24 Mar 2014 17:20:47 +0000 (17:20 +0000)
committerJoe Orton <jorton@apache.org>
Mon, 24 Mar 2014 17:20:47 +0000 (17:20 +0000)
  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

index a407ca06d2c1b9efbc579215de6826afee6e468a..b77bdd99f18c3f2884963016c9f5c7b3e61ea399 100644 (file)
@@ -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");