http-rs / http-rs/tide-rustls

TlsListenerConfig with buffer, or Read trait

Open
#6 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
33
Forks
11
PR merge metrics
No merged PRs in 30d

Description

afaict the TlsListenerConfig currently requires sending it PathBuf's, which eventually opens/reads the keys and certs, it would be nice if there were a way to pass it an `&[u8]` or more likely something implementing the `Read` trait, so you can use keys and certs that aren't stored on the filesystem.
```
TlsListener::build()
.addrs("localhost:4433")
.cert(cert_path)
.key(key_path),
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.