]> granicus.if.org Git - apache/commitdiff
restore a check for write failures which was lost for non-SSL builds
authorJeff Trawick <trawick@apache.org>
Fri, 1 Aug 2003 08:57:43 +0000 (08:57 +0000)
committerJeff Trawick <trawick@apache.org>
Fri, 1 Aug 2003 08:57:43 +0000 (08:57 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100888 13f79535-47bb-0310-9956-ffa450edef68

support/ab.c

index d8208e69e11e2e3f9aed353e74df729189d78bab..a2ff99e2cb3f9d08baca1fee595379eb42325936 100644 (file)
@@ -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("<p>\n");
-       printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-2.0<br>\n", AP_AB_BASEREVISION, "$Revision: 1.128 $");
+       printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-2.0<br>\n", AP_AB_BASEREVISION, "$Revision: 1.129 $");
        printf(" Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br>\n");
        printf(" Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/<br>\n");
        printf("</p>\n<p>\n");