Skip to content

Add local() SocketAddr filter#990

Open
daviessm wants to merge 1 commit intoseanmonstar:masterfrom
daviessm:local-socketaddr
Open

Add local() SocketAddr filter#990
daviessm wants to merge 1 commit intoseanmonstar:masterfrom
daviessm:local-socketaddr

Conversation

@daviessm
Copy link
Copy Markdown

I found a need for using the local part of the open connection in a filter. This PR simply adds a local_addr wherever there's a remote_addr (except in tracing).

It needs a bump to hyper as local_addr() was only added to AddrStream in v0.14.19.

Comment thread Cargo.toml Outdated
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 this pull request may close these issues.

2 participants