From: phk Date: Fri, 11 May 2007 13:15:16 +0000 (+0000) Subject: Make the sendfile threshold inifinity for now, we have evidence of X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73735808a64598c4e545afff63a76c6b26d22457;p=varnish Make the sendfile threshold inifinity for now, we have evidence of sendfile not doing it's job in a number of operating system (-versions ?) This change is unlikely to cause a performance hit anywhere, because writev() is pretty effective in the first place. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1417 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/mgt_param.c b/varnish-cache/bin/varnishd/mgt_param.c index 58d8f94a..32372c5a 100644 --- a/varnish-cache/bin/varnishd/mgt_param.c +++ b/varnish-cache/bin/varnishd/mgt_param.c @@ -529,7 +529,7 @@ static struct parspec parspec[] = { "may make sense to set this to \"unlimited\".\n" #endif EXPERIMENTAL, - "8192", "bytes" }, + "-1", "bytes" }, #endif /* HAVE_SENDFILE */ { "vcl_trace", tweak_vcl_trace, "Trace VCL execution in the shmlog.\n"