Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting ip address of connection #218

Closed
LimitLost opened this issue Aug 13, 2023 · 1 comment · Fixed by #219
Closed

Getting ip address of connection #218

LimitLost opened this issue Aug 13, 2023 · 1 comment · Fixed by #219

Comments

@LimitLost
Copy link

After switching to hyper_rustls from hyper input for make_service_fn is changed from AddrStream to acceptor::TlsStream which is not exposed as public API and doesn't have remote_addr function from the original struct, is there any way to get address of current connection/stream?

@djc
Copy link
Member

djc commented Aug 14, 2023

Have a look to see if #219 addresses your use case?

@djc djc closed this as completed in #219 Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants