summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2003-07-29 18:25:15 +0000
committerJeff Trawick <trawick@apache.org>2003-07-29 18:25:15 +0000
commit548da410d339493d0e7513a4b20eaa635a93f3d4 (patch)
tree72712909d5a2b711bdc9dd39c8935a26552eea6a /support
parent6fddb8026e805ba201e10fdac19d024b7fd7bc98 (diff)
downloadhttpd-548da410d339493d0e7513a4b20eaa635a93f3d4.tar.gz
ab: Work over non-loopback on Unix again.
(Broken as of 2.0.47 due to dependence on an APR bug which was fixed in 2.0.47.) PR: 21495 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100846 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support')
-rw-r--r--support/ab.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/support/ab.c b/support/ab.c
index dd19510b0e..d8208e69e1 100644
--- a/support/ab.c
+++ b/support/ab.c
@@ -1268,7 +1268,7 @@ static void start_connect(struct connection * c)
c->state = STATE_CONNECTING;
c->rwrite = 0;
new_pollfd.desc_type = APR_POLL_SOCKET;
- new_pollfd.reqevents = APR_POLLIN;
+ new_pollfd.reqevents = APR_POLLOUT | APR_POLLIN;
new_pollfd.desc.s = c->aprsock;
new_pollfd.client_data = c;
apr_pollset_add(readbits, &new_pollfd);
@@ -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.127 $> apache-2.0");
+ printf("This is ApacheBench, Version %s\n", AP_AB_BASEREVISION " <$Revision: 1.128 $> 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.127 $");
+ printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-2.0<br>\n", AP_AB_BASEREVISION, "$Revision: 1.128 $");
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");