增加:TerminatorDataHandlingAdapter可以保留分割符。

增加:IOCP拥塞接收模式,客户端默认拥塞接收,服务器默认多线程接收。
优化:等待池获取逻辑(特此感谢百转回魂网友)。
修复:FixedSizeDataHandlingAdapter重复释放Bug。
修复:TcpClient释放Dispose后不触发断开连接事件。
修复:TcpClient独立线程异常Bug。
This commit is contained in:
若汝棋茗
2021-07-10 15:20:01 +08:00
parent 24221f2b75
commit 9dd4e19230
33 changed files with 404 additions and 169 deletions

View File

@@ -10,20 +10,17 @@
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
using RRQMCore.ByteManager;
using RRQMCore.Helper;
using RRQMSocket.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Collections;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using RRQMCore.Helper;
using System.Collections;
namespace RRQMSocket.RPC.XmlRpc
{
static class XmlDataTool
internal static class XmlDataTool
{
public static object GetValue(XmlNode valueNode, Type type)
{
@@ -261,7 +258,6 @@ namespace RRQMSocket.RPC.XmlRpc
CreateParam(xml, valueElement, value);
ByteBlock xmlBlock = BytePool.Default.GetByteBlock(1024 * 4);
xml.Save(xmlBlock);
@@ -270,6 +266,5 @@ namespace RRQMSocket.RPC.XmlRpc
httpResponse.FromXML(xmlString);
xmlBlock.Dispose();
}
}
}
}