Loading STATUS +1 −20 Changes for STATUS: 1 added line, 20 removed lines. Original line number Diff line number Diff line APACHE 2.0 STATUS: -*-text-*- Last modified at [$Date: 2004/08/28 16:11:42 $] Last modified at [$Date: 2004/08/28 16:20:08 $] Release: Loading Loading @@ -262,25 +262,6 @@ PATCHES TO BACKPORT FROM 2.1 shows breakage on Solaris which can't -lcrypto -lssl without the extra pkgconfig/openssl.pc Libs: * foo } * ab: catch out of memory (reasoning report ID 29) support/ab.c: r1.125 +1: nd, erikabele, ianh 0: trawick, who is not about to stand in anybody's way on this, but has two comments nonetheless: a) with no abort function specified for the pools, this is just one of many possible failures b) my guess is that a heap shortage encountered by ab is much more likely to be caused by an ab bug instead of by a user setup error (ulimit) or system resource shortage... is an error message better than a coredump in that case? nd: hmm. This one is a pure (and obvious) malloc. Once we may decide to use a pool-abort_fn; then the situation turns around... :) Yes, I think, a useful error message is better than a coredump in this case. jerenkrantz: Oh, bah. Let 'em segfault. Use flood! * mod_ssl: fix a link failure when the openssl-engine libraries are present but the engine headers are missing. modules/ssl/mod_ssl.c: r1.87 Loading support/ab.c +7 −3 Changes for support/ab.c: 7 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -1599,7 +1599,11 @@ static void test(void) * Combine headers and (optional) post file into one contineous buffer */ if (posting == 1) { char *buff = (char *) malloc(postlen + reqlen + 1); char *buff = malloc(postlen + reqlen + 1); if (!buff) { fprintf(stderr, "error creating request buffer: out of memory\n"); return; } strcpy(buff, request); strcpy(buff + reqlen, postdata); request = buff; Loading Loading @@ -1768,14 +1772,14 @@ static void test(void) static void copyright(void) { if (!use_html) { printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.121.2.11 $> apache-2.0"); printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.121.2.12 $> 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><%s></i> apache-2.0<br>\n", AP_AB_BASEREVISION, "$Revision: 1.121.2.11 $"); printf(" This is ApacheBench, Version %s <i><%s></i> apache-2.0<br>\n", AP_AB_BASEREVISION, "$Revision: 1.121.2.12 $"); 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"); Loading Loading
STATUS +1 −20 Changes for STATUS: 1 added line, 20 removed lines. Original line number Diff line number Diff line APACHE 2.0 STATUS: -*-text-*- Last modified at [$Date: 2004/08/28 16:11:42 $] Last modified at [$Date: 2004/08/28 16:20:08 $] Release: Loading Loading @@ -262,25 +262,6 @@ PATCHES TO BACKPORT FROM 2.1 shows breakage on Solaris which can't -lcrypto -lssl without the extra pkgconfig/openssl.pc Libs: * foo } * ab: catch out of memory (reasoning report ID 29) support/ab.c: r1.125 +1: nd, erikabele, ianh 0: trawick, who is not about to stand in anybody's way on this, but has two comments nonetheless: a) with no abort function specified for the pools, this is just one of many possible failures b) my guess is that a heap shortage encountered by ab is much more likely to be caused by an ab bug instead of by a user setup error (ulimit) or system resource shortage... is an error message better than a coredump in that case? nd: hmm. This one is a pure (and obvious) malloc. Once we may decide to use a pool-abort_fn; then the situation turns around... :) Yes, I think, a useful error message is better than a coredump in this case. jerenkrantz: Oh, bah. Let 'em segfault. Use flood! * mod_ssl: fix a link failure when the openssl-engine libraries are present but the engine headers are missing. modules/ssl/mod_ssl.c: r1.87 Loading
support/ab.c +7 −3 Changes for support/ab.c: 7 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -1599,7 +1599,11 @@ static void test(void) * Combine headers and (optional) post file into one contineous buffer */ if (posting == 1) { char *buff = (char *) malloc(postlen + reqlen + 1); char *buff = malloc(postlen + reqlen + 1); if (!buff) { fprintf(stderr, "error creating request buffer: out of memory\n"); return; } strcpy(buff, request); strcpy(buff + reqlen, postdata); request = buff; Loading Loading @@ -1768,14 +1772,14 @@ static void test(void) static void copyright(void) { if (!use_html) { printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.121.2.11 $> apache-2.0"); printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.121.2.12 $> 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><%s></i> apache-2.0<br>\n", AP_AB_BASEREVISION, "$Revision: 1.121.2.11 $"); printf(" This is ApacheBench, Version %s <i><%s></i> apache-2.0<br>\n", AP_AB_BASEREVISION, "$Revision: 1.121.2.12 $"); 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"); Loading