summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Reid <dreid@apache.org>2005-09-10 00:10:25 +0200
committerDavid Reid <dreid@apache.org>2005-09-10 00:10:25 +0200
commitd01f2df246f275552807340c3b465a06d1cbb2e2 (patch)
tree11a357e08db3d8a475c3b365703021b3214aa29b
parentMove the timeout mutex up, to limit the time we are holding it. (diff)
downloadapache2-d01f2df246f275552807340c3b465a06d1cbb2e2.tar.xz
apache2-d01f2df246f275552807340c3b465a06d1cbb2e2.zip
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
-rw-r--r--modules/ssl/ssl_engine_kernel.c3
1 files changed, 3 insertions, 0 deletions
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);
}
/*