Akins, Brian wrote:
For trunk, it's time finally to open the file earlier in the request
cycle and use the fstat/file_info_get for the lifetime of the request.
Thoughts?

Maybe. I'm wondering how often we wind-up not using the file.  I guess only
when we redirect or something in fixups, maybe.

Well, translate_name should be an OK thing to mess up the uri, filename
etc.  map_to_storage is supposed to associate the thing to a real
resource, e.g. the file.  So it seems that we should, in the dir_walk
of map_to_storage, open() that ->filename and use its fstat(req->file)
instead of doing the stat(), then open().

WDYT?

Reply via email to