> On 13 Jan 2024, at 22:38, Ranier Vilela <ranier(dot)vf(at)gmail(dot)com> wrote:
> In the pgwin32_socket function (src/backend/port/win32/socket.c), there is a possible socket leak if the socket cannot be made non-blocking.
I don't know Windows well enough to comment on the implications of not calling
closesocket here, but it definitely seems like a prudent thing to do
backpatched down to 12. Unless objections I'll do that.
--
Daniel Gustafsson