]> err.no Git - varnish/commitdiff
Make the sendfile threshold inifinity for now, we have evidence of
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 11 May 2007 13:15:16 +0000 (13:15 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Fri, 11 May 2007 13:15:16 +0000 (13:15 +0000)
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

varnish-cache/bin/varnishd/mgt_param.c

index 58d8f94a29d3a7dd1e359e220a470d2fa622966e..32372c5af52047934403120da49bde7a7807f8ad 100644 (file)
@@ -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"