-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
Would you consider making your ProxyStream implementation public and also switching form using tokio_tls to tokio_native_tls?
The reason I'm asking is because I'd like to be able to access the underlying TLS stream of a proxied connection, to do some further validation of the server certificate. This is almost possible using the Upgrade mechanism in hyper but to downcast the hyper::upgrade::Upgraded back to its underlying stream requires your ProxyStream struct to be made public and requires it to use a tokio_native_tls::TlsStream not a tokio_tls::TlsStream as the latter doesn't allow access to the underlying native_tls stream (and also looks to be deprecated in favour of the former).
lynnux
Metadata
Metadata
Assignees
Labels
No labels