X-Sendfile for mod_fastcgi

Bernard van Gastel <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
Hi,

For performance reasons I would like a X-Sendfile method (in  
mod_fastcgi?) for sending files to the client (like http:// 
blog.lighttpd.net/articles/2006/07/02/x-sendfile). In short,  
mod_fastcgi searches for the X-Sendfile header and sends the  
specified file directly to the client. For Apache2 there is  
mod_xsendfile (which can be combined with mod_fastcgi), but it is not  
available for Apache 1.3. Is there already some functionality for the  
method described above?

With Regards,
	Bernard van Gastel

P.S. I have already patched mod_fastcgi 2.4.0 for the above described  
functionality, but because it is my first patch, my first look into  
Apache internals and first look into FastCGI internals I don't know  
if I have implemented it correctly (extra attribute for the  
fcgi_request called 'sendfile' which is NULL unless process_headers 
(...) finds a correct header. It is send in doWork(...)).
___________________________________
fastcgi-developers mailing list
http://fastcgi.com/fastcgi-developers/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.