You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rivet-dev@tcl.apache.org by Karl Lehenbauer <ka...@flightaware.com> on 2009/04/27 18:25:56 UTC
interesting problem in apache-2/mod_rivet.c when .rvt file doesn't exist
In Apache 1.3, if a .rvt file doesn't exist, it's a 404 plain and
simple.
But in Apache 2, if a .rvt file doesn't exist, module keeps going.
The problem in in src/apache-2/mod_rivet.c, in Rivet_SendContent. It
checks for r->finfo.st_mode in 1, r->finfo.protection in 2. It
assumes protection will be 0 if the file doesn't exist, and it appears
to be documented that way in Apache, but if I log the protection value
right before the check, it's not 0, and this causes the file-not-found
path to not get followed.
Still looking...
---------------------------------------------------------------------
To unsubscribe, e-mail: rivet-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: rivet-dev-help@tcl.apache.org