mirror of
https://github.com/actix/actix-web.git
synced 2025-04-16 14:54:15 +00:00
Fix ConnectionInfo::realip_remote_addr documentation
This commit is contained in:
parent
36fed765eb
commit
bd8e3cf5fc
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue