[Sheepdog] [PATCH] fix a bug in rx() when read() returns 0 but connection is not marked as closed.

Liu Yuan namei.unix at gmail.com
Wed Apr 25 04:14:56 CEST 2012


On 04/25/2012 09:05 AM, Huxinwei wrote:

> What if reading is interrupted by a signal ?
> Read() returns 0 while errno is EINTR then ?


is there any real use case to interrupt read()? If it is killed by
manual signal, I think it would be too artificial

Thanks,
Yuan



More information about the sheepdog mailing list