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
Add ssl support to Windows builds, Appveyor #1439
Conversation
IO.select(nil, [@socket.to_io]) | ||
retry | ||
end | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method name is #read_nonblock
, shouldn't we raise Errno::EAGAIN
rather than blocking?
It should be the callers responsibility to retry.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe have a look at 7165775?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't recall. Since the error is handled in read_and_drop
, if the change works,...
Also, dummy def for RDoc & YARD in mini_ssl.c