From 13e819052b8d20b39f3154b18d43388f96812ddd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=9B=BD=E4=BC=9F?= <366193849@qq.com> Date: Wed, 4 Dec 2024 13:59:19 +0800 Subject: [PATCH] Fixed the issue that GetRemoteEndPoint did not use the remoteEndPoint parameter. --- Source/MQTTnet.AspnetCore/Internal/MqttChannel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/MQTTnet.AspnetCore/Internal/MqttChannel.cs b/Source/MQTTnet.AspnetCore/Internal/MqttChannel.cs index b3d0b360b..b709838c0 100644 --- a/Source/MQTTnet.AspnetCore/Internal/MqttChannel.cs +++ b/Source/MQTTnet.AspnetCore/Internal/MqttChannel.cs @@ -86,7 +86,7 @@ private static bool AllowPacketFragmentation(IHttpContextFeature? _httpContextFe } } - return null; + return remoteEndPoint; } private static bool IsTlsConnection(IHttpContextFeature? _httpContextFeature, ITlsConnectionFeature? tlsConnectionFeature)