mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-28 04:52:18 +00:00
update SocketHttpListener
This commit is contained in:
parent
da3d8894a8
commit
78165d78a2
22 changed files with 214 additions and 274 deletions
|
|
@ -108,7 +108,7 @@ namespace Emby.Server.Implementations.HttpServer.SocketSharp
|
|||
return remoteIp ??
|
||||
(remoteIp = (CheckBadChars(XForwardedFor)) ??
|
||||
(NormalizeIp(CheckBadChars(XRealIp)) ??
|
||||
(request.RemoteEndPoint != null ? NormalizeIp(request.RemoteEndPoint.IpAddress.ToString()) : null)));
|
||||
(request.RemoteEndPoint != null ? NormalizeIp(request.RemoteEndPoint.Address.ToString()) : null)));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue