[PATCH 0/2 v3] SIGPIPE masking in local socket connections

Поиск
Список
Период
Сортировка
От Jeremy Kerr
Тема [PATCH 0/2 v3] SIGPIPE masking in local socket connections
Дата
Msg-id 1246344523.875159.618882543354.0.gpush@pingu
обсуждение исходный текст
Ответы [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros  (Jeremy Kerr <jk@ozlabs.org>)
[PATCH 2/2 v3] [libpq] Try to avoid manually masking SIGPIPEs on every send()  (Jeremy Kerr <jk@ozlabs.org>)
Список pgsql-hackers
A new approach to avioding manipulating the signal mask during for every
send - this time round, use SO_NOSIGPIPE and MSG_NOSIGNAL if available.

The patches have been tested on Linux and OSX, and I've confirmed that
'struct foo { };' will compile with a MSVC compiler. I'd still like a
little more testing though, is there a machine that allows both
SO_NOSIGPIPE and MSG_NOSIGNAL?

v3: respin as context diffs

Again, comments most welcome,


Jeremy

---
Jeremy Kerr (2):     [libpq] rework sigpipe-handling macros     [libpq] Try to avoid manually masking SIGPIPEs on every
send()



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

Предыдущее
От: Scara Maccai
Дата:
Сообщение: Re: Query progress indication - an implementation
Следующее
От: Jeremy Kerr
Дата:
Сообщение: [PATCH 1/2 v3] [libpq] rework sigpipe-handling macros