Skip to content

Commit c121a4a

Browse files
committed
发布版本:2.6.5
1 parent 70a2a5b commit c121a4a

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

QpTestClient/QpTestClient.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<Product>[QuickProtocol]测试客户端</Product>
99
<AssemblyTitle>[QuickProtocol]测试客户端</AssemblyTitle>
1010
<Authors>scbeta</Authors>
11-
<Version>2.6.4</Version>
11+
<Version>2.6.5</Version>
1212
<IsPackable>false</IsPackable>
1313
<ApplicationIcon>logo.ico</ApplicationIcon>
1414
<EnableWindowsTargeting>true</EnableWindowsTargeting>

Quick.Protocol.AllClients/Quick.Protocol.AllClients.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<RepositoryUrl>https://github.com/QuickProtocol/QuickProtocol_CSharp</RepositoryUrl>
77
<Copyright />
88
<Authors>scbeta</Authors>
9-
<Version>2.6.4</Version>
9+
<Version>2.6.5</Version>
1010
<Company />
1111
<Description>Incluse in common usage QpClient implements.
1212
Common use:

Quick.Protocol.Pipeline/Quick.Protocol.Pipeline.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFramework>net8.0</TargetFramework>
55
<PackageProjectUrl>https://github.com/QuickProtocol</PackageProjectUrl>
66
<RepositoryUrl>https://github.com/QuickProtocol/QuickProtocol_CSharp</RepositoryUrl>
7-
<Version>2.6.4</Version>
7+
<Version>2.6.5</Version>
88
<Authors>scbeta</Authors>
99
<Company />
1010
<Product>Quick.Protocol</Product>

Quick.Protocol.SerialPort/Quick.Protocol.SerialPort.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFramework>net8.0</TargetFramework>
55
<PackageProjectUrl>https://github.com/QuickProtocol</PackageProjectUrl>
66
<RepositoryUrl>https://github.com/QuickProtocol/QuickProtocol_CSharp</RepositoryUrl>
7-
<Version>2.6.4</Version>
7+
<Version>2.6.5</Version>
88
<Authors>scbeta</Authors>
99
<Company />
1010
<Product>Quick.Protocol</Product>

Quick.Protocol.Tcp/Quick.Protocol.Tcp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFramework>net8.0</TargetFramework>
55
<PackageProjectUrl>https://github.com/QuickProtocol</PackageProjectUrl>
66
<RepositoryUrl>https://github.com/QuickProtocol/QuickProtocol_CSharp</RepositoryUrl>
7-
<Version>2.6.4</Version>
7+
<Version>2.6.5</Version>
88
<Authors>scbeta</Authors>
99
<Company />
1010
<Product>Quick.Protocol</Product>

Quick.Protocol.WebSocket.Client/Quick.Protocol.WebSocket.Client.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFramework>net8.0</TargetFramework>
55
<PackageProjectUrl>https://github.com/QuickProtocol</PackageProjectUrl>
66
<RepositoryUrl>https://github.com/QuickProtocol/QuickProtocol_CSharp</RepositoryUrl>
7-
<Version>2.6.4</Version>
7+
<Version>2.6.5</Version>
88
<Authors>scbeta</Authors>
99
<Company />
1010
<Product>Quick.Protocol</Product>

Quick.Protocol.WebSocket.Server.AspNetCore/Quick.Protocol.WebSocket.Server.AspNetCore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFramework>net8.0</TargetFramework>
55
<PackageProjectUrl>https://github.com/QuickProtocol</PackageProjectUrl>
66
<RepositoryUrl>https://github.com/QuickProtocol/QuickProtocol_CSharp</RepositoryUrl>
7-
<Version>2.6.4</Version>
7+
<Version>2.6.5</Version>
88
<Authors>scbeta</Authors>
99
<Company />
1010
<Product>Quick.Protocol</Product>

Quick.Protocol/QpChannel_Recv.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -412,22 +412,22 @@ protected void BeginReadPackage(CancellationToken token)
412412
{
413413
lastReadDataTime = DateTime.Now;
414414
var pipe = new Pipe();
415-
FillRecvPipeAsync(QpPackageHandler_Stream, pipe.Writer, token).ContinueWith(task =>
415+
CheckRecvTimeoutAsync(token).ContinueWith(task =>
416416
{
417417
if (task.IsFaulted)
418418
OnReadError(task.Exception);
419-
pipe.Writer.CompleteAsync(task.Exception);
420419
});
421-
ReadRecvPipeAsync(pipe.Reader, token).ContinueWith(task =>
420+
FillRecvPipeAsync(QpPackageHandler_Stream, pipe.Writer, token).ContinueWith(task =>
422421
{
423422
if (task.IsFaulted)
424423
OnReadError(task.Exception);
425-
pipe.Reader.CompleteAsync(task.Exception);
424+
pipe.Writer.CompleteAsync(task.Exception);
426425
});
427-
CheckRecvTimeoutAsync(token).ContinueWith(task =>
426+
ReadRecvPipeAsync(pipe.Reader, token).ContinueWith(task =>
428427
{
429428
if (task.IsFaulted)
430429
OnReadError(task.Exception);
430+
pipe.Reader.CompleteAsync(task.Exception);
431431
});
432432
}
433433

Quick.Protocol/Quick.Protocol.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<RepositoryUrl>https://github.com/QuickProtocol/QuickProtocol_CSharp</RepositoryUrl>
77
<Copyright />
88
<Authors>scbeta</Authors>
9-
<Version>2.6.4</Version>
9+
<Version>2.6.5</Version>
1010
<Company />
1111
<Description>A simple protocol for TCP,Pipeline,SerialPort,WebSocket.</Description>
1212
<PackageIcon>logo.png</PackageIcon>

0 commit comments

Comments
 (0)