From 1c0391b185997b11d020168dfa967ec97f9f988d Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Wed, 28 Nov 2001 02:09:46 +0000 Subject: 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 --- server/protocol.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'server/protocol.c') 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) -- cgit v1.2.3