Commit a5b9d6b0 authored by Federico G. Schwindt's avatar Federico G. Schwindt

Really expose accept_filter parameter to Linux

This was missing on my previous commit.
parent 8dd603f6
......@@ -489,7 +489,6 @@ vca_acct(void *arg)
assert (ls->sock > 0); // We know where stdin is
AZ(listen(ls->sock, cache_param->listen_depth));
vca_tcp_opt_set(ls->sock, 1);
#ifdef HAVE_ACCEPT_FILTERS
if (cache_param->accept_filter) {
int i;
i = VTCP_filter_http(ls->sock);
......@@ -498,7 +497,6 @@ vca_acct(void *arg)
"Kernel filtering: sock=%d, ret=%d %s",
ls->sock, i, strerror(errno));
}
#endif /* HAVE_ACCEPT_FILTERS */
}
need_test = 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment