Skip to content

Conversation

parfeon
Copy link
Contributor

@parfeon parfeon commented Oct 20, 2025

feat(tcp-keepalive): add ability to configure TCP keepalive

Provide interfaces (pubnub_use_tcp_keep_alive, pubnub_dont_use_tcp_keep_alive, use_tcp_keep_alive, and dont_use_tcp_keep_alive) to set up active TCP connection keep-alive packet sending.

fix(dns): fix crash on Windows system DNS

Replace the Windows API, which in a multithreaded environment became a reason for crashes during the DNS resolution process.

fix(sockets): address issue with additional socket

Fix the issue because of which client created a secondary connection when built with PUBNUB_USE_IPV6 support.

Provide interfaces (`pubnub_use_tcp_keep_alive`, `pubnub_dont_use_tcp_keep_alive`, `use_tcp_keep_alive`, and
`dont_use_tcp_keep_alive`) to set up active TCP connection keep-alive packet sending.
@parfeon parfeon self-assigned this Oct 20, 2025
@parfeon parfeon added status: done This issue is considered resolved. priority: high This PR should be reviewed ASAP. type: feature This PR contains new feature. labels Oct 20, 2025
Copy link
Contributor

@KGronek-Pubnub KGronek-Pubnub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :) tested on Windows

@parfeon
Copy link
Contributor Author

parfeon commented Oct 21, 2025

@pubnub-release-bot release

@parfeon parfeon merged commit c5756f8 into master Oct 21, 2025
6 checks passed
@parfeon parfeon deleted the feat/tcp-keepalive branch October 21, 2025 16:40
@pubnub-release-bot
Copy link
Contributor

🚀 Release successfully completed 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority: high This PR should be reviewed ASAP. status: done This issue is considered resolved. type: feature This PR contains new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants