Skip to content

[socket] improve keep alive support#6542

Merged
headius merged 1 commit intojruby:masterfrom
ahorek:socket
Jan 29, 2021
Merged

[socket] improve keep alive support#6542
headius merged 1 commit intojruby:masterfrom
ahorek:socket

Conversation

@ahorek
Copy link
Contributor

@ahorek ahorek commented Jan 28, 2021

this PR improves Redis support for their TCP keep-alive implementation #6541

also fixes a bug, getsockopt returns zero if the passed constant isn't supported. It should always be a SocketOption or an exception.

@ahorek ahorek changed the title WIP: [socket] improve keep alive support [socket] improve keep alive support Jan 28, 2021
Copy link
Member

@headius headius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@headius headius added this to the JRuby 9.3.0.0 milestone Jan 29, 2021
@headius headius merged commit 7b9f596 into jruby:master Jan 29, 2021
MariuszCwikla pushed a commit to MariuszCwikla/jruby that referenced this pull request Feb 4, 2021
@headius headius modified the milestones: JRuby 9.3.0.0, JRuby 9.2.18.0 Jun 8, 2021
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.

2 participants