summaryrefslogtreecommitdiffstats
path: root/server/request.c
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2001-08-06 04:27:26 +0200
committerWilliam A. Rowe Jr <wrowe@apache.org>2001-08-06 04:27:26 +0200
commitf7e1f07bb34a993029beb257d0f004b74f79f088 (patch)
tree85f4b83e6e4cfb9e6a45ecfcb432890d61b99b32 /server/request.c
parentGet the worker MPM working again. This should fix the serialization (diff)
downloadapache2-f7e1f07bb34a993029beb257d0f004b74f79f088.tar.xz
apache2-f7e1f07bb34a993029beb257d0f004b74f79f088.zip
More explanation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89931 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'server/request.c')
-rw-r--r--server/request.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/server/request.c b/server/request.c
index afdf79e1f7..78c7ea5bf6 100644
--- a/server/request.c
+++ b/server/request.c
@@ -1402,8 +1402,11 @@ AP_DECLARE(request_rec *) ap_sub_req_lookup_dirent(const apr_finfo_t *dirent,
if ((dirent->valid & APR_FINFO_MIN) != APR_FINFO_MIN) {
/*
- * If this is an APR_LNK that resolves to an APR_DIR, then
- * we will rerun everything anyways... this should be safe.
+ * apr_dir_read isn't very complete on this platform, so
+ * we need another apr_lstat (or simply apr_stat if we allow
+ * all symlinks here.) If this is an APR_LNK that resolves
+ * to an APR_DIR, then we will rerun everything anyways...
+ * this should be safe.
*/
if (ap_allow_options(rnew) & OPT_SYM_LINKS) {
if (((rv = apr_stat(&rnew->finfo, rnew->filename,