keepalives on MacOS X

Поиск
Список
Период
Сортировка
От Robert Haas
Тема keepalives on MacOS X
Дата
Msg-id AANLkTim1omBQ4U-Ib5VoOoWbbuU8COh9G2rJdqUkIlVr@mail.gmail.com
обсуждение исходный текст
Ответы Re: keepalives on MacOS X  (Fujii Masao <masao.fujii@gmail.com>)
Re: keepalives on MacOS X  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Propose Beta3 for July
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Keepalives win32