Skip to content

Commit 70a2a5b

Browse files
committed
增加符号发布功能
1 parent 756e099 commit 70a2a5b

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Quick.Protocol/QpChannel_Recv.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,10 @@ private async Task FillRecvPipeAsync(Stream stream, PipeWriter writer, Cancellat
185185
{
186186
int bytesRead = await stream.ReadAsync(readBufferMemory, token);
187187
if (bytesRead == 0)
188+
{
189+
await Task.Delay(100, token);
188190
continue;
191+
}
189192
lastReadDataTime = DateTime.Now;
190193
if (options.EnableNetstat)
191194
{

Quick.Protocol/Quick.Protocol.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
<PackageIcon>logo.png</PackageIcon>
1313
<PackageTags>QuickProtocol</PackageTags>
1414
<IsAotCompatible>true</IsAotCompatible>
15+
<IncludeSymbols>true</IncludeSymbols>
16+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
1517
</PropertyGroup>
1618

1719
<ItemGroup>

0 commit comments

Comments
 (0)