NNTPC: nntpcache has problems accepting new connections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nick Holloway wrote:
> 
> This is 1.0.1, running on a Linux box (kernel 2.0.27, Debian 1.2.4).
> 
> I haven't been able to reproduce it at will, but I haven't tried yet.

It'd be much better to capture the reason why client is equal to scfg->fd.

> The only area I'm not sure about is if the scfg->fh and scfg->fd manage to
> get out of sync.  This happens briefly in attachServer, as fd is assigned,
> and then the old fh is closed after, and the reopened.  However, I can't
> think of a sequence of events that this would cause an error for.

I can't see anything wrong there as scfg->fd is always set to contain either -1
or a valid fd.  There's something more subtle than that here.

-- 
Debian GNU/Linux 1.2 is out! { http://www.debian.org/ }
Email:  Herbert Xu ~{PmV>HI~} <herbert@greathan.apana.org.au>
{ http://greathan.apana.org.au/~herbert/ }
PGP Key:  pgp-public-keys@pgp.mit.edu or any other key sites


[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux