bfenetworks / bfe

A modern layer 7 load balancer from baidu
https://www.bfe-networks.net
Apache License 2.0
6.13k stars 949 forks source link

add mod_tcp_keepalive to handle TCP-KeepAlive message sending strategy #858

Closed dblate closed 2 years ago

dblate commented 3 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] In some situation, like XiaoDu watch, which is sensitive to power consumption, may need to close the TCP-KeepAlive heartbeat message or increase the interval to send TCP-KeepAlive heartbeat message. Mod_tcp_keepalive can help handle situation like this.

Describe the solution you'd like A clear and concise description of what you want to happen. Mod_tco_keepalive support such params:

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

dblate commented 2 years ago

pr: https://github.com/bfenetworks/bfe/pull/886 There are some issues in code analysis, should I fix them?