httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo ...@perlig.de>
Subject ap_directory_walk: return r->status = res; ?
Date Thu, 22 Apr 2004 21:35:44 GMT

In ap_directory_walk in server/request.c there are some points of failure,
which look like:

return r->status = res;
or
return r->status = HTTP_FORBIDDEN;

Why is that? (It's not in 1.3). Is it to avoid recursion (errodocument needs a
directory walk, too)?
The point is - it leads to strange behaviour described in:

http://issues.apache.org/bugzilla/show_bug.cgi?id=28515

which should be fixed somehow. But I smell side effects if I just remove the
r->status= pattern.

nd
-- 
my @japh = (sub{q~Just~},sub{q~Another~},sub{q~Perl~},sub{q~Hacker~});
my $japh = q[sub japh { }]; print join       #########################
 [ $japh =~ /{(.)}/] -> [0] => map $_ -> ()  #            André Malo #
=> @japh;                                    # http://www.perlig.de/ #

Mime
View raw message