Skip to content

Fix socket leak #8

Merged
merged 1 commit into from Mar 26, 2013
Commits on Mar 25, 2013
  1. @hulkholden

    Sockets were being leaked - the WB_ALIVE flags is cleared in various …

    hulkholden committed Mar 25, 2013
    …places, but without calling wb_close_socket. When the connection was finally torn down, wb_close_client would only close the socket when WB_ALIVE was still set. Seems more robust to check socket != WB_INVALID_SOCKET?
Something went wrong with that request. Please try again.