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

SSL Socket test sometimes loops forever #4

Merged
merged 1 commit into from
May 6, 2012
Merged

SSL Socket test sometimes loops forever #4

merged 1 commit into from
May 6, 2012

Conversation

loganb
Copy link
Contributor

@loganb loganb commented May 6, 2012

Hello,

On my OS X Mac, the SSL socket test will sometimes enter an infinite loop trying to create an unwritable SSL socket. The reason is that Kernel#select will report the socket writable event though write_nonblock throws an exception when any data is written. I've restructured the logic to trap this condition with a "pending" block (though I cannot confirm that the test passes on other machines).

tarcieri added a commit that referenced this pull request May 6, 2012
SSL Socket test sometimes loops forever
@tarcieri tarcieri merged commit 79d37ae into socketry:master May 6, 2012
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.

2 participants