Return-Path: Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 81544 invoked by uid 500); 10 Mar 2002 14:54:57 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 81523 invoked from network); 10 Mar 2002 14:54:55 -0000 Date: Sun, 10 Mar 2002 17:00:52 +0200 From: Artiom Morozov To: dev@httpd.apache.org Subject: apr_file_open change Message-ID: <20020310170052.A27946@cyan.csp.org.by> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=KOI8-R Content-Transfer-Encoding: 8bit X-Mailer: Balsa 1.2.3 Lines: 15 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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.