www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabien Coelho <coe...@cri.ensmp.fr>
Subject general/3098: apache does not report some system errors.
Date Tue, 29 Sep 1998 09:05:28 GMT

>Number:         3098
>Category:       general
>Synopsis:       apache does not report some system errors.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Tue Sep 29 02:10:01 PDT 1998
>Originator:     coelho@cri.ensmp.fr
>Release:        1.3.2
Solaris 2.6 intel
apache does not report some system errors.

for instance, in ap_is_directory() if the stat fails for some reason,
it returns false (okay) but there is no way to have the error to be reported
explicitely to some log. In my case for some obscure reasons I had an
internal kernel error reported with stat but I could not make it be explicitely
described (strerror) without patching the source.

My request would be that under some apache command line options(?) all system
errors could be reported explicitely instead of silently returning something
and going on as done in most ap_* functions.

add code to test all system errors and report them (puts(strerror(...)) 
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]

View raw message