I am using tokio-rustls however when I drop the connection I recieve:
"peer closed connection without sending TLS close_notify: https://docs.rs/rustls/latest/rustls/manual/_03_howto/index.html#unexpected-eof
Reading the tokio-rustls documentation, I can not find how I would have https://docs.rs/tokio-rustls/latest/tokio_rustls/client/struct.TlsStream.html send a close notify. There is a poll_shutdown, but there is no coresponding shutdown function that I could use to await on the close.
Should there be an async shutdown method on this?