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

[2.1] Exception-free nonblock forms #1057

Closed
headius opened this issue Oct 1, 2013 · 1 comment
Closed

[2.1] Exception-free nonblock forms #1057

headius opened this issue Oct 1, 2013 · 1 comment
Assignees

Comments

@headius
Copy link
Member

headius commented Oct 1, 2013

See https://bugs.ruby-lang.org/issues/5138

An :exception => false option can be passed to non-blocking IO functions, avoiding the exception and returning a symbol instead. This applies to read_nonblock, read_partial, write_nonblock, sysread_nonblock, and so on across IO, StringIO, SSLSocket, and SSLSocket with buffering.rb.

@headius
Copy link
Member Author

headius commented Nov 12, 2014

Added in 9k.

@headius headius closed this as completed Nov 12, 2014
@headius headius self-assigned this Nov 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant