HomePhabricator

prevent SOCKET leak in BindListenPort()
c994d2e76923Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

prevent SOCKET leak in BindListenPort()

  • the call to CloseSocket() is placed after the WSAGetLastError(), because a CloseSocket() can trigger an error also, which we don't want for the logging in this two cases

Details

Provenance
Philip Kaufmann <phil.kaufmann@t-online.de>Authored on Jul 17 2014, 20:33
deadalnixPushed on May 14 2017, 22:04
Parents
rABCe8d4cb807169: Merge pull request #4504
Branches
Unknown
Tags
Unknown

Event Timeline

Philip Kaufmann <phil.kaufmann@t-online.de> committed rABCc994d2e76923: prevent SOCKET leak in BindListenPort() (authored by Philip Kaufmann <phil.kaufmann@t-online.de>).Jul 17 2014, 20:49