jaymzh / concordance

Program Harmony remote controls from Linux, Windows, or Mac!
GNU General Public License v3.0
153 stars 19 forks source link

Use HTTPS when communicating with harmonyremote.com #40

Closed swt2c closed 2 years ago

swt2c commented 2 years ago

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.