]> granicus.if.org Git - apache/commitdiff
Record the fact that we failed to set the username as requested.
authorDavid Reid <dreid@apache.org>
Fri, 9 Sep 2005 22:10:25 +0000 (22:10 +0000)
committerDavid Reid <dreid@apache.org>
Fri, 9 Sep 2005 22:10:25 +0000 (22:10 +0000)
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

index 02ee92a806b689a7ed584e24382a93c490c0a9fd..0fd7b25b76dd9d8eff36f6243adc7e8b6583e569 100644 (file)
@@ -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);
     } 
 
     /*