From 33f2a48a23d764ebc360fefb265fdc358ab2d615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E7=9F=B3=E5=A4=B4?= Date: Sun, 2 Jun 2024 14:13:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=87=E7=BA=A7=E5=9F=BA=E7=A1=80=E7=BB=84?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- NewLife.Remoting/Http/WebSocketServerCodec.cs | 2 +- NewLife.Remoting/NewLife.Remoting.csproj | 2 +- Samples/IoTZero/IoTZero.csproj | 4 ++-- Samples/Zero.RpcServer/Zero.RpcServer.csproj | 4 ++-- Test/Test.csproj | 2 +- XUnitTest/XUnitTest.csproj | 8 ++++---- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/NewLife.Remoting/Http/WebSocketServerCodec.cs b/NewLife.Remoting/Http/WebSocketServerCodec.cs index 375520d..6ee370c 100644 --- a/NewLife.Remoting/Http/WebSocketServerCodec.cs +++ b/NewLife.Remoting/Http/WebSocketServerCodec.cs @@ -43,7 +43,7 @@ public override Boolean Close(IHandlerContext context, String reason) var request = new HttpRequest(); if (request.Parse(pk) && request.IsCompleted) { - var ctx = new DefaultHttpContext(null, request, null, null) + var ctx = new DefaultHttpContext(session, request, null, null) { ServiceProvider = session as IServiceProvider }; diff --git a/NewLife.Remoting/NewLife.Remoting.csproj b/NewLife.Remoting/NewLife.Remoting.csproj index cd36604..188d470 100644 --- a/NewLife.Remoting/NewLife.Remoting.csproj +++ b/NewLife.Remoting/NewLife.Remoting.csproj @@ -50,7 +50,7 @@ - + diff --git a/Samples/IoTZero/IoTZero.csproj b/Samples/IoTZero/IoTZero.csproj index 8de791f..2eb9b40 100644 --- a/Samples/IoTZero/IoTZero.csproj +++ b/Samples/IoTZero/IoTZero.csproj @@ -21,8 +21,8 @@ - - + + diff --git a/Samples/Zero.RpcServer/Zero.RpcServer.csproj b/Samples/Zero.RpcServer/Zero.RpcServer.csproj index a3622f8..5aeb4fe 100644 --- a/Samples/Zero.RpcServer/Zero.RpcServer.csproj +++ b/Samples/Zero.RpcServer/Zero.RpcServer.csproj @@ -20,9 +20,9 @@ - + - + diff --git a/Test/Test.csproj b/Test/Test.csproj index ff270fe..4a21d74 100644 --- a/Test/Test.csproj +++ b/Test/Test.csproj @@ -10,7 +10,7 @@ - + diff --git a/XUnitTest/XUnitTest.csproj b/XUnitTest/XUnitTest.csproj index d34a408..736c1a9 100644 --- a/XUnitTest/XUnitTest.csproj +++ b/XUnitTest/XUnitTest.csproj @@ -10,12 +10,12 @@ - + - + - - + + all runtime; build; native; contentfiles; analyzers; buildtransitive