[Sheepdog] [PATCH] sheep: set send/recv timeout

Yibin Shen zituan at taobao.com
Tue Dec 13 07:26:05 CET 2011


On Tue, Dec 13, 2011 at 11:43 AM, MORITA Kazutaka
<morita.kazutaka at lab.ntt.co.jp> wrote:
> At Tue, 13 Dec 2011 11:35:25 +0800,
> Yibin Shen wrote:
>>
>> seems SO_SNDTIMEO & SO_RCVTIMEO are commonly used in block IO,
>> I'm not sure whether they can work correctly in non-block IO code.
>
> All network I/O between sheeps is a blocking one.
>
if so, this patch looks good to me.
> Thanks,
>
> Kazutaka
> --
> sheepdog mailing list
> sheepdog at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/sheepdog

________________________________

This email (including any attachments) is confidential and may be legally privileged. If you received this email in error, please delete it immediately and do not copy it or use it for any purpose or disclose its contents to any other person. Thank you.

本电邮(包括任何附件)可能含有机密资料并受法律保护。如您不是正确的收件人,请您立即删除本邮件。请不要将本电邮进行复制并用作任何其他用途、或透露本邮件之内容。谢谢。



More information about the sheepdog mailing list