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

set TCP keepalive and remove related sessions when client disconnects #9

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

gtortone
Copy link

@gtortone gtortone commented Aug 8, 2024

Hi,
I propose these changes to implement TCP_KEEPALIVE socket options on TNFS server side to avoid stale sockets.
When a socket is expired all related sessions are deallocated. I set keepalive parameters to some values but they can be set in src/config.h file.

@tschak909 tschak909 merged commit 02c5eda into FujiNetWIFI:master Aug 9, 2024
@tschak909
Copy link

Thank you!

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