Closed finnbear closed 2 months ago
I'd like the remote address for rate-limiting. Right now, I have to accept the connection and then use Connection::remote_address(&self) -> SocketAddr, at which point it is too late to reject.
accept
Connection::remote_address(&self) -> SocketAddr
Thanks for making this library!
I'd like the remote address for rate-limiting. Right now, I have to
accept
the connection and then useConnection::remote_address(&self) -> SocketAddr
, at which point it is too late to reject.Thanks for making this library!