Skip to content

Commit

Permalink
ab: apr_pool_clear() closes the socket already.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1911177 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
ylavic committed Jul 21, 2023
1 parent cc71b51 commit 0dc7adf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/ab.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/* --------------------------------------------------------- */
Expand Down

0 comments on commit 0dc7adf

Please sign in to comment.