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

Consider using rustls #21

Open
moderation opened this issue Nov 10, 2020 · 2 comments
Open

Consider using rustls #21

moderation opened this issue Nov 10, 2020 · 2 comments
Assignees
Milestone

Comments

@moderation
Copy link

By using rustls we could compile dog without requiring OpenSSL and compile using musl.

See osa1/tiny#179 and:

Rustls vs OpenSSL: (link: https://jbp.io/2019/07/01/rustls-vs-openssl-performance.html)

  • 15% quicker to send data
  • 5% quicker to receive data
  • 20-40% quicker to full handshake (client)
  • 10% quicker to full handshake (server)
  • 30-70% quicker to resume (client)
  • 10-20% quicker to resume (server)
  • Uses <1/2 as much RAM
@ogham
Copy link
Owner

ogham commented Mar 28, 2021

I'm not sure if there are any side-effects of switching away from OpenSSL, but I would at least like there to be some way to have pluggable SSL implementations, so users can make the choice for themselves when building it.

@0x5c
Copy link

0x5c commented Aug 7, 2021

Allowing different SSL crates to be used should be possible with cargo features.

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

3 participants