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

Add SSLSocket#fileno #198

Closed
ioquatix opened this issue Apr 27, 2018 · 0 comments
Closed

Add SSLSocket#fileno #198

ioquatix opened this issue Apr 27, 2018 · 0 comments

Comments

@ioquatix
Copy link
Member

I believe the following would be useful, as to appear like a socket or IO instance:

class OpenSSL::SSL::SSLSocket
	def fileno
		to_io.fileno
	end
end
@hsbt hsbt closed this as completed in 95aa0ce May 2, 2019
hsbt added a commit that referenced this issue May 2, 2019
Add `SSLSocket#fileno` and `SSLServer#fileno`. Fixes #198.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant