summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorYann Ylavic <ylavic@apache.org>2023-07-21 16:56:05 +0200
committerYann Ylavic <ylavic@apache.org>2023-07-21 16:56:05 +0200
commit0dc7adf9507fcf2729bb1b2df8894fceb26abfff (patch)
tree33dc718d8974dba5ffdb8331039efebb75ce58e5 /support
parentab: Disable nagle algorithm on sockets, it's not telnet. (diff)
downloadapache2-0dc7adf9507fcf2729bb1b2df8894fceb26abfff.tar.xz
apache2-0dc7adf9507fcf2729bb1b2df8894fceb26abfff.zip
ab: apr_pool_clear() closes the socket already.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1911177 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support')
-rw-r--r--support/ab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/ab.c b/support/ab.c
index 571d2b0607..dfca869710 100644
--- a/support/ab.c
+++ b/support/ab.c
@@ -1766,8 +1766,8 @@ static void close_connection(struct connection *c)
c->ssl = NULL;
}
#endif
- apr_socket_close(c->aprsock);
apr_pool_clear(c->ctx);
+ c->aprsock = NULL;
}
/* --------------------------------------------------------- */