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 [email protected]
обсуждение исходный текст
Список 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/[email protected]

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a8a983e8299ae7e63b18b3965ca1f55e18f84a06

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


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