You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dean Gaudet <dg...@arctic.org> on 1999/04/09 22:03:42 UTC

Re: [PATCH] restarting without loosing sockets (fwd)

I did respond -- but since you're not on the list I suppose you didn't see
the response. 

We can't include your patch as is -- it's not portable.  It's a nice
feature though. 

Dean

---------- Forwarded message ----------
Date: Sun, 4 Apr 1999 20:29:11 -0700 (PDT)
From: Dean Gaudet <dg...@arctic.org>
To: new-httpd@apache.org
Subject: Re: [PATCH] restarting without loosing sockets
X-Comment: Visit http://www.arctic.org/~dgaudet/legal for information regarding copyright and disclaimer.
Reply-To: new-httpd@apache.org

Interesting... I wonder how portable this is.  We could go steal NCSA's fd
passing code, which has been ported left and right... and give it a try. 
I just wonder how many systems mess up passing listen() sockets :)

Dean

On Sat, 3 Apr 1999, Wojtek wrote:

> Hey !
> 
> I have written a patch to restart apache (FULLY - killing the previous one
> and starting a completely new one) without loosing the listen sockets.
> 
> I simply pass the old listen sockets through sendmsg/recvmsg to the new
> apache.
> 
> Please tell me if there is something wrong with the patch (I will correct
> it), and send me info on updating the documentation (I'll be happy to do
> that too).
> 
> The patch was applied to Apache 1.3.6.
> 
> Greetings,
> Wojtek
>