Skip to content

Use proper types in pbpal_check_tls for C++ builds - #257

Merged
parfeon merged 2 commits into
masterfrom
CLEN-3718-fix-variable-type
Sep 10, 2026
Merged

parfeon merged 2 commits into
masterfrom
CLEN-3718-fix-variable-type

Conversation

@parfeon

@parfeon parfeon commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

fix(cpp-compat): use proper types in pbpal_check_tls for C++ builds

pbpal_check_tls in OpenSSL and mbedTLS backends stored pbpal_handle_socket_condition result in int and passed it to pubnub_res_2_string(enum pubnub_res) which is a hard error in C++.

`pbpal_check_tls` in OpenSSL and mbedTLS backends stored `pbpal_handle_socket_condition` result in
`int` and passed it to `pubnub_res_2_string(enum pubnub_res)` which is a hard error in C++.
@parfeon parfeon self-assigned this Sep 9, 2026
@parfeon parfeon added status: done This issue is considered resolved. priority: high This PR should be reviewed ASAP. type: fix This PR contains fixes to existing features. labels Sep 9, 2026

@KGronek-Pubnub KGronek-Pubnub left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@parfeon

parfeon commented Sep 10, 2026

Copy link
Copy Markdown
Contributor Author

@pubnub-release-bot release

@parfeon
parfeon merged commit 1f8aa32 into master Sep 10, 2026
7 checks passed
@parfeon
parfeon deleted the CLEN-3718-fix-variable-type branch September 10, 2026 08:49
@pubnub-release-bot

Copy link
Copy Markdown
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: fix This PR contains fixes to existing features.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants