Commit 5f0bf12b authored by Ryan Bloom's avatar Ryan Bloom
Browse files

Add the code to actually enable accept filters in 2.0


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88690 13f79535-47bb-0310-9956-ffa450edef68
parent 91f30cbf
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -157,12 +157,18 @@ static apr_status_t make_sock(apr_pool_t *p, ap_listen_rec *server)
	return stat;
    }

#ifdef APR_HAS_SO_ACCEPTFILTER
#ifndef ACCEPT_FILTER_NAME
#define ACCEPT_FILTER_NAME "dataready"
#endif
    apr_socket_accept_filter(s, ACCEPT_FILTER_NAME, "");
#endif

    server->sd = s;
    server->active = 1;
    return APR_SUCCESS;
}


static apr_status_t close_listeners_on_exec(void *v)
{
    ap_listen_rec *lr;