pgsql: Arrange to ignore SIGPIPE during SSL_read() and SSL_shutdown(),

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Arrange to ignore SIGPIPE during SSL_read() and SSL_shutdown(),
Дата
Msg-id 20080129020340.4C1A5754108@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Arrange to ignore SIGPIPE during SSL_read() and SSL_shutdown(), as these
are known to write on the socket sometimes and thus we are vulnerable to
being killed by the signal if the server happens to go away unexpectedly.
Noticed while trying (futilely) to reproduce bug #3902.

This bug has been there all along, but since the situation is usually
only of interest to developers, I chose not to back-patch the changes.

Modified Files:
--------------
    pgsql/src/interfaces/libpq:
        fe-secure.c (r1.101 -> r1.102)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/libpq/fe-secure.c?r1=1.101&r2=1.102)

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

Предыдущее
От: andrewsn@pgfoundry.org (User Andrewsn)
Дата:
Сообщение: ip4r - ip4r: remove erroneous remnant of alternative approach
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix up closePGconn() so that PQreset() will work on GSSAPI/SSPI