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

Better sockets and related stuff support #4093

Closed
wants to merge 62 commits into from

Conversation

etehtsea
Copy link
Contributor

@etehtsea etehtsea commented Aug 19, 2016

Based on https://github.com/jruby/jruby/tree/ruby-2.3+socket
Opening WIP pull request in order to anyone could keep track its progress.

Every commit is tested using https://github.com/ruby/spec
See related PRs:
ruby/spec#279
ruby/spec#280
ruby/spec#281
ruby/spec#283
ruby/spec#284
ruby/spec#286
ruby/spec#287
ruby/spec#290

etehtsea and others added 20 commits August 24, 2016 23:08
Remove (un)pack_sockaddr specs from excludes
Return :wait_readable instead of IO::WaitReadable
This is based on specs created by @yorickpeterse for the
rubysl/rubysl-socket move to a pure-ruby socket lib.

Among the changes thusfar:

* Many improvements to Addrinfo, including leveraging the JDK APIs
  better and having less state. More address types work correctly
  now.
* Socket now handles more types of sockets, including servers.
* Improvements to addressing behavior across all socket types.
* In-progress refactoring of socket classes to be reusable from
  Socket grab-bag.

At the moment there are around 565 specs tagged.
Also tested using specs from ruby/spec#287
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.

None yet

3 participants