[sheepdog] [PATCH 1/2] test: add a test for sockfd keepalive

Liu Yuan namei.unix at gmail.com
Mon Sep 3 19:16:00 CEST 2012


On 09/03/2012 11:52 PM, MORITA Kazutaka wrote:
> Another approach:
>  - set poll timeout, SO_SNDTIMEO, and SO_RCVTIMEO as we did before,
>    but return SD_RES_NETWORK_ERROR only if epoch is incremented after
>    timeout.

I tried set poll with timeout 5 seconds as before, but still get the same problem as
set it '-1' & keepalive. So I think this problem exists at all the sheep version.

So I guess the problem cause our keepalive timer isn't fired also apply to user defined
timer.

Thanks,
Yuan



More information about the sheepdog mailing list