Mailing List Archive

New patches for 0.8.14
The following patches uploaded:
12_del_max_security.0.8.14.patch
Subject: Unnecessary define in httpd.h
Affects: httpd.h
ChangeLog: Delete MAX_SECURITY define in httpd.h

13_error_fd.0.8.14.patch
Subject: Reduce number of error log file descriptors
Affects: http_log.c
ChangeLog: Only open as many error logs are there are different error log
files.
Comment: Users with many (O(500)) virtual hosts run out of file descriptors;
even setrlimit cannot save them. This allows them to reduce the
number of open files by sharing error logs between virtual hosts.

14_rlimit.0.8.14.patch
Subject: Fix feature test for setrlimit()
Affects: http_log.c
ChangeLog: Support setrlimit on architectures other than BSD.
Comment: Use of setrlimit was #ifdef BSD && RLIMIT_NOFILE; the test on BSD is
redundant. The inclusion of sys/resource.h was #ifdef BSD, and so
was not included on non-BSD architectures.
With this patch, sys/resource.h is included if HAVE_RESOURCE is
defined to 1. The default value of HAVE_RESOURCE is set to 1
on BSD systems, 0 on non-BSD systems. This preserves the original
behaviour.
The patch also sets HAVE_RESOURCE to 1 for Solaris, which provides
sys/resource.h.
Summary: no change for any architecture except Solaris, which now
calls setrlimit.

David.