From 5f94c42bd65fd58827c4391f1edad06b53cc6894 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Fri, 1 Aug 2003 08:57:43 +0000 Subject: [PATCH] restore a check for write failures which was lost for non-SSL builds git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100888 13f79535-47bb-0310-9956-ffa450edef68 --- support/ab.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/support/ab.c b/support/ab.c index d8208e69e1..a2ff99e2cb 100644 --- a/support/ab.c +++ b/support/ab.c @@ -782,6 +782,7 @@ static void write_request(struct connection * c) #ifdef USE_SSL if (ssl != 1) +#endif if (e != APR_SUCCESS) { /* * Let's hope this traps EWOULDBLOCK too ! @@ -793,7 +794,6 @@ static void write_request(struct connection * c) } return; } -#endif c->rwrote += l; c->rwrite -= l; } while (1); @@ -1793,14 +1793,14 @@ static void test(void) static void copyright(void) { if (!use_html) { - printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.128 $> apache-2.0"); + printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.129 $> apache-2.0"); printf("Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/\n"); printf("Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/\n"); printf("\n"); } else { printf("

\n"); - printf(" This is ApacheBench, Version %s <%s> apache-2.0
\n", AP_AB_BASEREVISION, "$Revision: 1.128 $"); + printf(" This is ApacheBench, Version %s <%s> apache-2.0
\n", AP_AB_BASEREVISION, "$Revision: 1.129 $"); printf(" Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
\n"); printf(" Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/
\n"); printf("

\n

\n"); -- 2.50.1