mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
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
This commit is contained in:
@@ -753,6 +753,9 @@ int ssl_hook_Access(request_rec *r)
|
|||||||
r, (char *)dc->szUserName);
|
r, (char *)dc->szUserName);
|
||||||
if (val && val[0])
|
if (val && val[0])
|
||||||
r->user = val;
|
r->user = val;
|
||||||
|
else
|
||||||
|
ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r,
|
||||||
|
"Failed to set r->user to '%s'", dc->szUserName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user