Re: Fwdstats serverfd (Patch)

From: Robert Collins <robertc@dont-contact.us>
Date: Mon, 26 Jun 2006 17:38:41 +1000

On Mon, 2006-06-26 at 11:40 +0800, Steven Wilton wrote:
> When I did the original serverfd work for backed off connections, I assumed
> serverfd=0 was invalid. This patch fixes the code so serverfd=-1 is the
> default when there is no backed-off server fd.
>
> I've also added an assert into fd_close to catch any cases where a fd is
> closed while it is backed off. This condition can cause crashes later on
> (Bug #1616 is an example) if not detected.

Looks fine to me.

Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Received on Mon Jun 26 2006 - 02:06:01 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jun 30 2006 - 12:00:02 MDT