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

Ignoring SIGPIPE, getaddrinfo bug and FO problem fix #20

Merged
merged 4 commits into from
Feb 17, 2012

Conversation

kiwanami
Copy link
Contributor

Ignoreing SIGPIPE, user programs can handle the socket error which is occurred by connection close without catching the signal. I think it is appropriate modification.
Another commit fixes the bug which is occurred by the wrong argument of getaddrinfo function. The original source does not use port number. This commit is related to the pull request #17.

@kiwanami
Copy link
Contributor Author

The commit 6ab5cdc fixed connecting to replica set and fail-over problem.

banker added a commit that referenced this pull request Feb 17, 2012
Ignore SIGPIPE. Fix getaddrinfo bug. Replica set failover issue.
@banker banker merged commit d36eaee into 10gen-archive:master Feb 17, 2012
@banker
Copy link
Contributor

banker commented Feb 17, 2012

Thanks!

@kiwanami
Copy link
Contributor Author

I'm glad to contribute!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants