Support extended keepalive parameters in epoll and io_uring (5.0)#6090
Open
ivu-mawi wants to merge 4 commits intoeclipse-vertx:5.0from
Open
Support extended keepalive parameters in epoll and io_uring (5.0)#6090ivu-mawi wants to merge 4 commits intoeclipse-vertx:5.0from
ivu-mawi wants to merge 4 commits intoeclipse-vertx:5.0from
Conversation
…nt, tcpKeepAliveIdleSeconds, tcpKeepAliveIntervalSeconds
…CP_KEEPCNT and TCP_KEEPINTVL for clients, not just servers
…llTransport (only)
Member
… check whether keepalive is enabled before setting extended options, leave that to the OS
Author
|
Generic TcpOption isn't in 5.0, so I think this is done now |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
EpollTransport: support extended keepalive parameters TCP_KEEPIDLE, TCP_KEEPCNT and TCP_KEEPINTVL
Builds on #5183. This work has not made it into 5.0, so I'm catching up on that.
I hope I've ported it correctly (moved to EPollTransport from Transport base)
For motivation, see #5163 and #5183 and #5970