deislabs / wagi

Write HTTP handlers in WebAssembly with a minimal amount of work
Apache License 2.0
889 stars 44 forks source link

feat(*): Adds optional TLS support to the server #74

Closed thomastaylor312 closed 3 years ago

thomastaylor312 commented 3 years ago

So it turns out there isn't much in the way of low level TLS support for servers. Pretty much everyone has implemented something similar. I think I cover most of the cases here, but please be diligent in your review. As noted in the code, it may be worth our time to release the TlsAcceptor stuff as public crate, but obviously that is outside the scope of this PR.

Closes #67