Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: SocketSpecHelper.supports_ipv6?
The initializer block is now captured, and we can't return from a captured block. This outlines that the previous commit is a BREAKING CHANGE! The `class_getter?` version used skip over the intent to cache the result in `@@supports_ipv6` (it returned from the generated function, not from the block), so whenever IPv6 was supported every test was creating yet-another TCPServer (oops).
- Loading branch information