httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: r->filename check
Date Sat, 25 Oct 2003 18:26:44 GMT
Ted Rolle wrote:
> Is that a show-stopper?
> 
> 
>>has any decision been made on the answer to the question "what should
>>r->filename be if a module determines in the translate_name hook that
>>the uri does not map to any file that the web server can see?" ?

It's a show-stopper as in random-code gets segfaults, when someone inserts a 
trans_hook, which doesn't set r->filename. Normally we want to do that when we 
know for sure that the resource is not on the filesystem. And we want to avoid 
wastefull stat calls.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Mime
View raw message