[master] a5b9d6b Really expose accept_filter parameter to Linux
Federico G. Schwindt
fgsch at lodoss.net
Wed Oct 14 23:36:10 CEST 2015
commit a5b9d6b01cfc98fddfa0734bdb4f21a38bbfe801
Author: Federico G. Schwindt <fgsch at lodoss.net>
Date: Wed Oct 14 22:33:26 2015 +0100
Really expose accept_filter parameter to Linux
This was missing on my previous commit.
diff --git a/bin/varnishd/cache/cache_acceptor.c b/bin/varnishd/cache/cache_acceptor.c
index 9736ca9..a17351d 100644
--- a/bin/varnishd/cache/cache_acceptor.c
+++ b/bin/varnishd/cache/cache_acceptor.c
@@ -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;
More information about the varnish-commit
mailing list