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

Support HTTP/2 with rustls #36

Closed
DemiMarie opened this issue Jan 3, 2018 · 16 comments
Closed

Support HTTP/2 with rustls #36

DemiMarie opened this issue Jan 3, 2018 · 16 comments

Comments

@DemiMarie
Copy link

This is a feature request to support HTTP/2 with rustls

@AlbanMinassian
Copy link
Contributor

@fafhrd91
Copy link
Member

I can not add rustls support at the moment. all packages needs to depend on same ring package

@mssun
Copy link

mssun commented Jun 7, 2018

all packages needs to depend on same ring package

What does it mean? I also hope to see rustls support. I understand rustls depends on ring internally.

@fafhrd91
Copy link
Member

fafhrd91 commented Jun 7, 2018

rustls depends on ring ^0.13.0-alpha
cookie depends on ring 0.12.1

I think it is not possible to compile two different ring dependency

@mssun
Copy link

mssun commented Jun 7, 2018

Correct me if I'm wrong. I remember that cargo can compile with two different version crates. But probably have two copies of library code?

Also, the master cookie support ring ^0.13.0-alpha in Jan. https://github.com/alexcrichton/cookie-rs/blob/master/Cargo.toml#L20

@fafhrd91
Copy link
Member

fafhrd91 commented Jun 7, 2018

cargo can, but ring uses asm which is the problem. I don't think alpha dependency is good idea

@mssun
Copy link

mssun commented Jun 7, 2018

I see. Thank you so much!

@DemiMarie
Copy link
Author

DemiMarie commented Jun 7, 2018 via email

@fafhrd91
Copy link
Member

fafhrd91 commented Jun 7, 2018 via email

@DemiMarie
Copy link
Author

DemiMarie commented Jun 7, 2018 via email

@fafhrd91
Copy link
Member

fafhrd91 commented Jun 7, 2018

choice is yours.

as a maintainer of the actix project i chose not to integrate with rustls at this stage.

@Tommoa
Copy link

Tommoa commented Jun 10, 2018

One option to solve the issue of differing ring dependencies is to use rustls 0.11 and tokio-rustls 0.4. Both of them use ring 0.12.1.

@hayd
Copy link

hayd commented Jun 10, 2018

Multiple ring versions should work together after briansmith/ring#619 is merged.

@ctz
Copy link

ctz commented Jul 19, 2018

This should now be unblocked by https://crates.io/crates/rustls/0.13.0 which depends on the latest ring release without the single-version constraint. Please do let me know if I can help 👍

@DoumanAsh
Copy link
Contributor

DoumanAsh commented Jul 19, 2018

We do have cookie that uses ring 0.12 also though

Hopefully after 0.13 stable ring we get new version of cookie rwf2/cookie-rs#106

@fafhrd91
Copy link
Member

fixed by #427

This was referenced Aug 2, 2018
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

8 participants