diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2021-12-07 13:34:06 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2021-12-07 13:34:06 -0500 |
commit | ed52c3707bcf8858defb0d9de4b55f5c7f18fed7 (patch) | |
tree | e2bba03be1fcbe1735895465285ea72e6f6d812d /src/backend/jit/llvm/llvmjit_error.cpp | |
parent | bba962f0c052bfab79df79ac5629eac5eab5b842 (diff) | |
download | postgresql-ed52c3707bcf8858defb0d9de4b55f5c7f18fed7.tar.gz postgresql-ed52c3707bcf8858defb0d9de4b55f5c7f18fed7.zip |
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
Diffstat (limited to 'src/backend/jit/llvm/llvmjit_error.cpp')
0 files changed, 0 insertions, 0 deletions