internal SITEreader

Russ Allbery rra at
Sat Feb 1 19:30:41 UTC 2003

Marco d'Itri <md at Linux.IT> writes:
> On Feb 01, "Jeffrey M. Vinocur" <jeff at> wrote:

>> Quick background:  the stuff in innd/chan.c is overlaid on select(),
>> essentially.  We maintain a bunch of "channels" (file descriptors plus
>> lots of extra state), and mark some of them for reading or writing with
>> the FD_SET FD_CLR FD_ZERO macros described in the select()
>> documentation.

> I started looking at the code and I tought that I could mitigate the
> effects of the bug by cleaning the bit of the fd in RCHANmask every time
> SITEreader is called. Does this sound reasonable?

Yes, that's exactly the approach I was going to work on this weekend.  If
you end up with a patch, that will save me from work.  :)

Russ Allbery (rra at             <>

    Please send questions to the list rather than mailing me directly.
     <> explains why.

More information about the inn-workers mailing list