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

Update hyper to 0.10 from 0.9 #16

Open
nbigaouette opened this issue Jan 31, 2017 · 0 comments
Open

Update hyper to 0.10 from 0.9 #16

nbigaouette opened this issue Jan 31, 2017 · 0 comments

Comments

@nbigaouette
Copy link
Owner

Hyper 0.10 was released 20 days ago.

According to the release notes:

hyper will no longer provide OpenSSL support out of the box. The hyper::net::Openssl and related types are gone. The Client now uses an HttpConnector by default, which will error trying to access HTTPS URLs.

TLS support should be added in from other crates, such as hyper-openssl, or similar using different TLS implementations.

If using a client, take a look at reqwest.

If using a server, look at hyper-native-tls or hyper-openssl.

(2f48612c)

While the SSL update is interesting (that would certainly simplify compilation on OSX, see for example #1), it is suggested to change to reqwest.

Unfortunately, reqwest does not yet support proxy (see discussion here). Until it can be used with a proxy, we'll be stucked at hyper 0.9.

@nbigaouette nbigaouette changed the title Update from hyper 0.9 Update hyper to 0.10 from 0.9 Feb 3, 2017
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

No branches or pull requests

1 participant