mirror of
https://github.com/RRQM/TouchSocket.git
synced 2025-12-18 09:26:42 +08:00
增加:TerminatorDataHandlingAdapter可以保留分割符。
增加:IOCP拥塞接收模式,客户端默认拥塞接收,服务器默认多线程接收。 优化:等待池获取逻辑(特此感谢百转回魂网友)。 修复:FixedSizeDataHandlingAdapter重复释放Bug。 修复:TcpClient释放Dispose后不触发断开连接事件。 修复:TcpClient独立线程异常Bug。
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user