On Tue, 23 Mar 2004, Bojan Smojver wrote: > Are you referring here to apr_file_seek() (which is done in > emulate_sendfile() anyway) or to tracking the file position outside?
I'm saying that file_bucket_read() does an apr_file_seek() unconditionally, because when we tried to have it remember what the position was and bypass the seek if the position matched, file buckets were broken whenever the apr_file_t was dup'ed. Same problem here.