mirror of
https://github.com/postgres/postgres.git
synced 2026-04-22 14:47:29 -04:00
If configuring the newly created socket non-blocking fails we error out and return INVALID_SOCKET, but the socket that had been created wasn't closed. Fix by issuing closesocket in the errorpath. Backpatch to all supported branches. Author: Ranier Vilela <ranier.vf@gmail.com> Discussion: https://postgr.es/m/CAEudQApmU5CrKefH85VbNYE2y8H=-qqEJbg6RAPU65+vCe+89A@mail.gmail.com Backpatch-through: v12 |
||
|---|---|---|
| .. | ||
| aix | ||
| hpux | ||
| tas | ||
| win32 | ||
| .gitignore | ||
| atomics.c | ||
| Makefile | ||
| posix_sema.c | ||
| sysv_sema.c | ||
| sysv_shmem.c | ||
| win32_sema.c | ||
| win32_shmem.c | ||