On Fri, Jan 10, 2003 at 01:30:16AM -0800, Juli Mallett wrote:

> Lately, the data field for sockets, which holds bytes ready (in the EVFILT_
> READ case) to be read, is computed to be zero.  This means that if you have
> a low watermark which is >0 per the kq, THE EVENT WILL NEVER HAPPEN.  Not to
> mention that this means when the event IS triggered properly (if you can
> call it that), it is always said to have =ZERO= bytes ready.
[...]

I can definitely reproduce this here and also fairly angry about it.
In addition to what you mentioned, fstat() gives an incorrect st_size
result now and it's likely that non-NOTE_LOWAT low watermarks are
firing too early as well.

Ugly test program @ http://people.freebsd.org/~tjr/kq.c


Tim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to