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
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGe8d4cb807169: Merge pull request #4504
Branches
Unknown
Tags
Unknown

Event Timeline

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