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

Use HTTPS when communicating with harmonyremote.com #40

Merged
merged 1 commit into from
Jan 23, 2022

Conversation

swt2c
Copy link
Contributor

@swt2c swt2c commented Jan 21, 2022

Recently, Logitech enabled HTTPS on the members.harmonyremote.com
website and implemented automatic redirects from HTTP -> HTTPS.
Unfortunately, this broke our relatively simple HTTP client as it
understood neither redirects nor HTTPS. Resolve this situation by
replacing our HTTP client with libcurl. Although this adds a new
dependency, this seems much simpler than trying to implement & maintain the
relevant OpenSSL (or other SSL library) calls to perform HTTPS (which
would also require other dependencies anyway) and also reduces the
codebase slightly.

Recently, Logitech enabled HTTPS on the members.harmonyremote.com
website and implemented automatic redirects from HTTP -> HTTPS.
Unfortunately, this broke our relatively simple HTTP client as it
understood neither redirects nor HTTPS.  Resolve this situation by
replacing our HTTP client with libcurl.  Although this adds a new
dependency, this seems much simpler than trying to implement & maintain the
relevant OpenSSL (or other SSL library) calls to perform HTTPS (which
would also require other dependencies anyway) and also reduces the
codebase slightly.
Copy link
Owner

@jaymzh jaymzh left a comment

Choose a reason for hiding this comment

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

One question, otherwise seems great.

libconcord/web.cpp Show resolved Hide resolved
@jaymzh jaymzh merged commit 181318d into jaymzh:master Jan 23, 2022
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