From d01f2df246f275552807340c3b465a06d1cbb2e2 Mon Sep 17 00:00:00 2001 From: David Reid Date: Fri, 9 Sep 2005 22:10:25 +0000 Subject: [PATCH] Record the fact that we failed to set the username as requested. This is useful to know as the most likely cause will be a misconfiguration and so should be easily fixed, but to be fixed it's helpful if you're aware it needs fixed! git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@279893 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ssl/ssl_engine_kernel.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/ssl/ssl_engine_kernel.c b/modules/ssl/ssl_engine_kernel.c index 02ee92a806..0fd7b25b76 100644 --- a/modules/ssl/ssl_engine_kernel.c +++ b/modules/ssl/ssl_engine_kernel.c @@ -753,6 +753,9 @@ int ssl_hook_Access(request_rec *r) r, (char *)dc->szUserName); if (val && val[0]) r->user = val; + else + ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, + "Failed to set r->user to '%s'", dc->szUserName); } /* -- 2.40.0