pgsql: On Windows, also call shutdown() while closing the client socket

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: On Windows, also call shutdown() while closing the client socket
Дата
Msg-id E1mufIt-0007KY-8v@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
On Windows, also call shutdown() while closing the client socket.

Further experimentation shows that commit 6051857fc is not sufficient
when using (some versions of?) OpenSSL.  The reason is obscure, but
calling shutdown(socket, SD_SEND) improves matters.

Per testing by Andrew Dunstan and Alexander Lakhin.
Back-patch as before.

Discussion: https://postgr.es/m/af5e0bf3-6a61-bb97-6cba-061ddf22ff6b@dunslane.net

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/23bc57d564b2dedb8b1d823a4fc71774afd9ff94

Modified Files
--------------
src/backend/libpq/pqcomm.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Update snowball
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Enable settings used in TAP tests for MSVC builds