From: William A. Rowe Jr Date: Wed, 28 Nov 2001 02:09:46 +0000 (+0000) Subject: Yea, sure a message is always good. Note we can't log the exception. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=891fa6377ac76b17e00b25afb54f80a5772026af;p=apache Yea, sure a message is always good. Note we can't log the exception. Submitted by John Sterling git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92208 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/protocol.c b/server/protocol.c index a779e1401c..574f0a9855 100644 --- a/server/protocol.c +++ b/server/protocol.c @@ -761,9 +761,10 @@ AP_DECLARE(void) ap_note_auth_failure(request_rec *r) else if (!strcasecmp(type, "Digest")) ap_note_digest_auth_failure(r); } - /* XXX: else there is no AuthType configured - * should we log an error or something ? - */ + else { + ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_ERR, + 0, r, "need AuthType to note auth failure: %s", r->uri); + } } AP_DECLARE(void) ap_note_basic_auth_failure(request_rec *r)