Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpf_metadata: set TCP keep alive socket options without Envoy SocketOption #1151

Conversation

mhofstetter
Copy link
Member

@mhofstetter mhofstetter commented Jan 28, 2025

PR #1115 unintentionally changed that the keep alive socket options are no longer applied on the accepted downstream socket, instead (due to the usage of Envoy SocketOption) they are now applied on the corresponding upstream socket.

This commit is reverting this change and adds some helping comments to the code.

Note: Same would have applied for SO_LINGER - but this has been removed completely in the meantime with #1128

…ption

PR cilium#1115 unintentionally changed
that the keep alive socket options are no longer applied on the accepted
downstream socket, instead (due to the usage of Envoy SocketOption) they
are now applied on the corresponding upstream socket.

This commit is reverting this change and adds some helping comments to
the code.

Signed-off-by: Marco Hofstetter <[email protected]>
@mhofstetter mhofstetter marked this pull request as ready for review January 28, 2025 09:24
@mhofstetter mhofstetter requested a review from a team as a code owner January 28, 2025 09:24
@jrajahalme jrajahalme added this pull request to the merge queue Jan 28, 2025
Merged via the queue into cilium:main with commit 090af04 Jan 28, 2025
5 checks passed
@mhofstetter mhofstetter deleted the pr/mhofstetter/revert-tcp-keepalive-socketoption branch January 28, 2025 09:36
@mhofstetter mhofstetter mentioned this pull request Jan 28, 2025
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants