Copy 9.3 socket implementation to 9.2#6664
Conversation
This is a wholesale duplication of the 9.3 (master at time of writing) socket implementation into 9.2 to pick up all recent improvements in the socket library. This should address jruby#6541 and other socket issues fixed on master.
|
hi @headius ! just a few notes: |
backport test_socket
|
@ahorek I merged in the tests. The one failure is a missing constant that I will investigate. I will also look into the PR and commit you linked. Thanks! |
Previously this was a blind case, followed by silently rejecting non-Constant enums. Better to prevent improper use at the type level. See jruby#6401.
Actually it was a constant being defined on Linux that should not be, which is directly related to the other linked commits. I have cherrypicked the relevant changes to this branch. |
|
anyway, thank your for fixing it @headius |
This is a wholesale duplication of the 9.3 (master at time of
writing) socket implementation into 9.2 to pick up all recent
improvements in the socket library.
This should address #6541 and other socket issues fixed on master.