mirror of
https://github.com/fafhrd91/actix-web
synced 2025-05-18 23:15:19 +02:00
docs: fix ConnectionInfo::realip_remote_addr documentation
This commit is contained in:
parent
9bbb5414d1
commit
40179e2aa6
@ -158,7 +158,7 @@ impl ConnectionInfo {
|
||||
/// The address is resolved through the following, in order:
|
||||
/// - `Forwarded` header
|
||||
/// - `X-Forwarded-For` header
|
||||
/// - peer address of opened socket (same as [`remote_addr`](Self::remote_addr))
|
||||
/// - peer address of opened socket (same as [`peer_addr`](Self::peer_addr))
|
||||
///
|
||||
/// # Security
|
||||
/// Do not use this function for security purposes unless you can be sure that the `Forwarded`
|
||||
|
Loading…
x
Reference in New Issue
Block a user