Lines Matching defs:connections
90 static apr_hash_t *connections = NULL;
116 if (connections == NULL) {
117 connections = apr_hash_make(pool);
122 /* Get a per-client count of connections in READ state */
127 n = apr_hash_get(connections, ws->client, APR_HASH_KEY_STRING);
133 apr_hash_set(connections, ws->client, APR_HASH_KEY_STRING, n);
145 /* Now check the hash for clients with too many connections in READ state */
146 for (hi = apr_hash_first(NULL, connections); hi; hi = apr_hash_next(hi)) {
152 "noloris: banning %s with %d connections in READ state",
159 apr_hash_clear(connections);
222 "IP addresses from which to allow unlimited connections"),
226 "Max connections in READ state to permit from an untrusted client"),