Python: TLS Support for servers (#2002)
* Add `PyTlsConfig` struct * Support TLS server * Add TLS support to Pokemon service * Make sure to create `tokio::net::TcpListener` in a Tokio context * Fix doc link * Add missing imports in tests * Add `tls::Listener` * Reload TLS config periodically * Add context to `TODO` * Return `&'static str` from `base_url()` * Flatten `match` in `tls::Listener` * Propogate listener errors but ignore handshake errors in `tls::Listener` * Add tests to `tls::Listener` * Add test to `tls::Listener` to make sure we are propogating listener errors * Use `PathBuf` instead of plain `String`s for paths
Loading
Please register or sign in to comment