summaryrefslogtreecommitdiff
path: root/www/thttpd/files/extra-patch-config.h
diff options
context:
space:
mode:
authorMike Silbersack <silby@FreeBSD.org>2004-02-01 04:51:54 +0000
committerMike Silbersack <silby@FreeBSD.org>2004-02-01 04:51:54 +0000
commit833ddce82868187d97d381c0f379065a04b61373 (patch)
tree34ad68a8d567362b4451a8f3d986df04cd954124 /www/thttpd/files/extra-patch-config.h
parent- Update to 0.16.4 (diff)
Enable sendfile support by default for 5.2+ systems, as we now have alc's
improved sendfile and the ability to watch usage via netstat -m.
Notes
Notes: svn path=/head/; revision=99670
Diffstat (limited to '')
-rw-r--r--www/thttpd/files/extra-patch-config.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/www/thttpd/files/extra-patch-config.h b/www/thttpd/files/extra-patch-config.h
new file mode 100644
index 000000000000..4eda85b272b0
--- /dev/null
+++ b/www/thttpd/files/extra-patch-config.h
@@ -0,0 +1,9 @@
+--- config.h.old Sat Jan 31 22:17:25 2004
++++ config.h Sat Jan 31 22:17:38 2004
+@@ -380,4 +380,6 @@
+ */
+ #define MIN_WOULDBLOCK_DELAY 100L
+
++#define USE_SENDFILE
++
+ #endif /* _CONFIG_H_ */