Re: keepalives on MacOS X
Fujii Masao <masao.fujii@gmail.com>
From: Fujii Masao <masao.fujii@gmail.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org
Date: 2010-06-29T03:48:08Z
Lists: pgsql-hackers
On Tue, Jun 29, 2010 at 4:07 AM, Robert Haas <robertmhaas@gmail.com> wrote: > It looks like the recent keepalives patch won't support MacOS X, > because MacOS X does not have the TCP_KEEPIDLE, TCP_KEEPINTVL, and > TCP_KEEPCNT socket parameters. It does have this: > > #define TCP_KEEPALIVE 0x10 /* idle time used when > SO_KEEPALIVE is enabled */ > > Should we try to support that as a synonym for TCP_KEEPIDLE, if that's > what it is? Or not worry about it? Or... what? I'm not sure that can be a synonym for TCP_KEEPIDLE, but if so we should change not only a client-side but also server-side. Regards, -- Fujii Masao NIPPON TELEGRAPH AND TELEPHONE CORPORATION NTT Open Source Software Center