Do not close the entire connection, just socket if
opened.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@123842
13f79535-47bb-0310-9956-
ffa450edef68
!worker->is_address_reusable) {
/* TODO: Check if the connection can be reused
*/
- if (conn->connection) {
- conn->close = 1;
- ap_proxy_release_connection("*", conn, r->server);
+ if (conn->sock) {
+ apr_socket_close(conn->sock);
+ conn->sock = NULL;
}
err = apr_sockaddr_info_get(&(conn->addr),
conn->hostname, APR_UNSPEC,