see: how to get client IP address in 1.0? · Issue #3310 · hyperium/hyper · GitHub
Basically there was make_service_fn() in hyper 0.14 where you could get a peek at the client's socket before passing control flow on to your actual handler. But that seems to no longer be available in v1.0. Anyone have a solution for that? Almost done with the implementation I'm working on and hyper 1.0 RC works great for us, so really wouldn't want to have to migrate back down to 0.14 just to get the required request logging done.
I'm guessing that it'd just be a matter of inserting an Extension wherever the server accepts the client connection, but can't find where that code is even located in hyper.
I'm a silly goose! It's none of hyper's concern any more, of course, as you handle the connection yourself. I may be tired or something
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.