Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix socket leak #8

Merged
merged 1 commit into from Mar 26, 2013
Merged

Fix socket leak #8

merged 1 commit into from Mar 26, 2013

Commits on Mar 25, 2013

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

    …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?
    hulkholden committed Mar 25, 2013
    Copy the full SHA
    8b96aea View commit details
    Browse the repository at this point in the history