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

http: check for OP_NO_COMPRESSION support before trying to use it #2423

Merged
merged 1 commit into from
Jul 2, 2016

Conversation

chennin
Copy link
Contributor

@chennin chennin commented Jul 2, 2016

Description:
This PR changes the http component to only use ssl.OP_NO_COMPRESSION if ssl.py has support for it. Apparently MacOS has an old Python and/or OpenSSL where it is not supported, preventing HASS startup.

cc @danieljkemp

Related issue (if applicable):
Should fix https://home-assistant.io/blog/2016/07/01/envisalink-homematic-hdmi-cec-and-sony-bravia-tv/#comment-2761211326 (but I don't have a mac to test in the wild, and as of this writing version details were not reported)

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass

@balloob balloob merged commit 2b8dfb2 into home-assistant:dev Jul 2, 2016
@balloob
Copy link
Member

balloob commented Jul 2, 2016

Thanks 🐬

I will issue a hotfix with this included.

@home-assistant home-assistant locked and limited conversation to collaborators Mar 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants