Nicolas PERNOUD

Results 34 comments of Nicolas PERNOUD

Hello, Thanks for taking the time to consider the question. I tried to use the higher level API with TcpListenerStream... but it does not implement the AsyncRead and AsyncWrite traits,...

Hello, I must be missing something, but with the following code, starting from your repository : In cargo.toml : ```toml tokio = { version= "1.19.2", features = ["full"]} tokio-stream =...

Ok, tomorrow or whenever convenient is perfectly fine : thanks a lot !

Hello, The good news is that it is working with both examples. I am still struggling with hyper/axum though : the app.make_service function that can be found in the example...

Hello again, That works ! I eventually managed to get it working with axum. It is maybe a little too specific to be made as an example, but for future...

Well, I do not know. I don't think the problem is with ConnectInfo but more with the api of make_service. I tried to ask the axum creator here : https://github.com/tokio-rs/axum/discussions/495#discussioncomment-3107551;...

By the way, if you were to implement something axum related, the best would be something like that : https://github.com/tokio-rs/axum/blob/bc55362ba8b19e0c1ad5260a68a250d09aeb8281/examples/tls-rustls/src/main.rs#L21 …

That would be great !

Very nice, thanks a lot for your dedication. That would be great to ensure that rustls-acme and axum work together beautifully !

I tested it in my use case as well (https://github.com/nicolaspernoud/vestirust/commit/1538a0fe476164a1950df7e2cf2f251447adeb4f), and it works very well. It allows to use the axum-server handle for graceful shutdown, that is a lot cleaner...