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

fix: Fix blocking SSL calls #43

Merged
merged 4 commits into from
Oct 8, 2024
Merged

fix: Fix blocking SSL calls #43

merged 4 commits into from
Oct 8, 2024

Conversation

dcmeglio
Copy link
Contributor

@dcmeglio dcmeglio commented Oct 8, 2024

Home-Assistant reported that there is a blocking call due to the way the SSLContext is being setup (see home-assistant/core#125380). This PR fixes the issue by setting up the context at import time and passing it to paho rather than letting paho create it's own context at execution.

setup.py Outdated Show resolved Hide resolved
@w1ll1am23 w1ll1am23 merged commit e675d0a into w1ll1am23:master Oct 8, 2024
9 checks passed
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