From: David Reid Date: Fri, 9 Sep 2005 22:10:25 +0000 (+0000) Subject: Record the fact that we failed to set the username as requested. X-Git-Tag: 2.3.0~3014 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d01f2df246f275552807340c3b465a06d1cbb2e2;p=apache 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 --- 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); } /*