Re: keepalives on MacOS X

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: keepalives on MacOS X
Дата
Msg-id AANLkTinRTXN9EPfNaN0dhUyculeDog5rAa4qliwWMclb@mail.gmail.com
обсуждение исходный текст
Ответ на keepalives on MacOS X  (Robert Haas <robertmhaas@gmail.com>)
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Mike Berrow
Дата:
Сообщение: Re: Issue: Deprecation of the XML2 module 'xml_is_well_formed' function
Следующее
От: Tom Lane
Дата:
Сообщение: Re: keepalives on MacOS X