accept filter rather than "dataready" on FreeBSD after 4.1.1-RELEASE
where it works correctly.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@92845
13f79535-47bb-0310-9956-
ffa450edef68
Changes with Apache 1.3.23
+ *) Use "httpready" accept filter rather than "dataready" on
+ FreeBSD after 4.1.1-RELEASE where it works correctly.
+ [Tony Finch]
+
*) Fix incorrect "Content-Length" header in the 416 "range not
satisfiable" response. [Joe Orton <joe@manyfish.co.uk>]
#ifdef SO_ACCEPTFILTER
if (ap_acceptfilter) {
#ifndef ACCEPT_FILTER_NAME
+#define ACCEPT_FILTER_NAME "httpready"
+#ifdef __FreeBSD_version
+#if __FreeBSD_version < 411000 /* httpready broken before 4.1.1 */
+#undef ACCEPT_FILTER_NAME
#define ACCEPT_FILTER_NAME "dataready"
#endif
+#endif
+#endif /* ! ACCEPT_FILTER_NAME */
/*
* See htdocs/manual/misc/perf-bsd44.html for a discussion of
* how to enable this feature and various issues with it.