diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2001-11-28 03:09:46 +0100 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2001-11-28 03:09:46 +0100 |
commit | 1c0391b185997b11d020168dfa967ec97f9f988d (patch) | |
tree | 793c98974f072d0fe5a6a970b6d65eabe8725237 /server/protocol.c | |
parent | recognize the symbols generated by APR_POOL_DECLARE_ACCESSOR() so (diff) | |
download | apache2-1c0391b185997b11d020168dfa967ec97f9f988d.tar.xz apache2-1c0391b185997b11d020168dfa967ec97f9f988d.zip |
Yea, sure a message is always good. Note we can't log the exception.
Submitted by John Sterling <sterling@covalent.net>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92208 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | server/protocol.c | 7 |
1 files changed, 4 insertions, 3 deletions
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) |