Setting TCP keepalive for Cyrus daemons
Bron Gondwana
brong at fastmail.fm
Sat Feb 13 16:56:29 EST 2010
On Sun, Feb 14, 2010 at 08:38:34AM +1100, Bron Gondwana wrote:
> > One thing to watch is that only SO_KEEPALIVE is standard. The other
> > three symbols: TCP_KEEPCNT, TCP_KEEPIDLE, and TCP_KEEPINTVL only exist
> > in some operating systems. They have global settings but don't have
> > per-socket options. For these, the setsockopt() function calls need
> > to be conditional on the symbols.
>
> Hmm - yeah, OK. I'll protect them with #ifdefs.
Here's the patch redone with those...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: keepalive2.diff
Type: text/x-diff
Size: 4381 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20100214/6584e4e4/attachment.bin
More information about the Info-cyrus
mailing list