diff options
author | Yann Ylavic <ylavic@apache.org> | 2023-07-21 16:56:05 +0200 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2023-07-21 16:56:05 +0200 |
commit | 0dc7adf9507fcf2729bb1b2df8894fceb26abfff (patch) | |
tree | 33dc718d8974dba5ffdb8331039efebb75ce58e5 /support | |
parent | ab: Disable nagle algorithm on sockets, it's not telnet. (diff) | |
download | apache2-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.c | 2 |
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; } /* --------------------------------------------------------- */ |