BiagioFesta / wtransport

Async-friendly WebTransport implementation in Rust
Apache License 2.0
460 stars 31 forks source link

config: allow passing custom tls configuration #80

Closed BiagioFesta closed 1 year ago

BiagioFesta commented 1 year ago

It seems a common use cases, that is, having access to the lower TLS configuration.

https://github.com/BiagioFesta/wtransport/issues/34

This is already possible by configuring QUIC layer (via feature quinn), however that requires an extra level of indirection.

I am not totally sure I want to have this in a stable API, mainly because it exposes lower dependency and potential silent-wrong configurations (wrong ALPN). However, it might be useful for now.