You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Artiom Morozov <ar...@phreaker.net> on 2002/03/10 16:00:52 UTC

apr_file_open change

Fair day to ye,

	Just thought it would be nice to extend apr_file_open 
implementation for unix so that it would stat() filename and 
socket()/connect() to it instead of open() if the file is a unix 
socket. Further i/o operations remain as they are. The reason to have 
that feature is an ability to write much more efficient rotatelog 
implementation, which won't spawn tens to hunderds of processes. I 
understand that logging module can be extended to achieve the same 
effect, but subj seems better as more general solution.

What do you think? Should i post a patch here?

Thank you.


Re: apr_file_open change

Posted by Jeff Trawick <tr...@attglobal.net>.
Artiom Morozov <ar...@phreaker.net> writes:

> Fair day to ye,
> 
> 	Just thought it would be nice to extend apr_file_open
> implementation for unix so that it would stat() filename and
> socket()/connect() to it instead of open() if the file is a unix
> socket. Further i/o operations remain as they are. The reason to have
> that feature is an ability to write much more efficient rotatelog
> implementation, which won't spawn tens to hunderds of processes. I
> understand that logging module can be extended to achieve the same
> effect, but subj seems better as more general solution.
> 
> What do you think? Should i post a patch here?

FYI...  dev@apr.apache.org is the proper discussion forum for this.

-- 
Jeff Trawick | trawick@attglobal.net | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...