Nginx do not call WSACleanup?
mdounin at mdounin.ru
Thu Jun 9 13:13:30 UTC 2016
On Thu, Jun 09, 2016 at 12:26:33PM +0000, Ranier VF wrote:
> Hi Maxim,I have another report by Dr.Memory, withs lots ofPotential Error HANDLE LEAK: KERNEL handle
> I do grep:grep WSACleanup in win32 directory.
> Why nginx, do not call WSACleanup when finish with -s stop?
The main reason is: because nginx is a program designed for UNIX,
and Windows-specific quirks are only added when they are needed.
On the other hand, for process-scope use of sockets WSACleanup()
was only really needed for Windows 3.x or earlier, and nginx never
supported these Windows versions.
More information about the nginx-devel