Skip to content

Conversation

SalahDevp
Copy link

This PR fixes issue (#205) by replacing the old KeepAlive config with the new KeepAliveConfig (introduced in Go 1.23), allowing more control over TCP keepalive behavior.

  • Sets a shorter keepalive: Idle=30s, Interval=5s, Count=3 → total timeout 40s instead of the old 4m 30s
  • Bumps Go version from 1.22 to 1.23.

This change is to reduce the hang caused by the default TCP keepalive behavior when the client’s IP changes or connection gets interrupted.

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.

1 participant