mirror of
https://github.com/fafhrd91/actix-web
synced 2025-05-19 07:23:17 +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:
|
/// The address is resolved through the following, in order:
|
||||||
/// - `Forwarded` header
|
/// - `Forwarded` header
|
||||||
/// - `X-Forwarded-For` 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
|
/// # Security
|
||||||
/// Do not use this function for security purposes unless you can be sure that the `Forwarded`
|
/// 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