Nonblocking I/O and POLL_BUG

Matthias Urlichs smurf at
Tue Oct 26 08:40:07 UTC 1999


Per Hedeland:
> >  (I've seen a different bug on Linux with 2.0.x
> >kernels, namely a write to a socket that has been set nonblocking blocking
> >anyway.  Solution there was to put a call to select in front of it.)
I've never seen that one...

> Ouch, that's a *much* worse bug! Could affect INN I guess, as
> CHANwrite() seems to attempt more than one write after select in some
> (weird:-) cases.
Then again, running INN on a pre-2.2 Linux system is not really a good idea 

Matthias Urlichs  |  noris network GmbH   |   smurf at  |  ICQ: 20193661
The quote was selected randomly. Really.    |
If a child looks like his father, that's heredity.
If he looks like a neighbor, that's environment.

More information about the inn-workers mailing list