求助:ccproxy.exe为什么会导致数据包分片?
POST http://192.168.0.131/Service/AdminOperBLL.asmx HTTP/1.1
Host: 192.168.0.131
Content-Type: text/xml; charset=utf-8
Content-Length: 390
SOAPAction: "http://tempuri.org/CheckLogin"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<CheckLogin xmlns="http://tempuri.org/">
<userName>admin</userName>
<userPwd>123456</userPwd>
</CheckLogin>
</soap:Body>
</soap:Envelope>
用代理服务器ccproxy.exe(仅设置HTTP代理项,ip:172.16.0.131:808)上网,自己用socket写客户端程序,读文件中以上信息发送往服务器,通过tcp协议直接发送往服务器,抓包发现发送过程中代理服务器将数据进行了分片,且刚好从换行处分片(即POST http://192.168.0.131/Service/AdminOperBLL.asmx HTTP/1.1
Host: 192.168.0.131
Content-Type: text/xml; charset=utf-8
Content-Length: 390
SOAPAction: "http://tempuri.org/CheckLogin"为一个数据包,后面部分为另一个数据包),变更数据大小后还是会分片,为什么会出现这种情况呢?有什么方法可以避免数据分片吗?我们的服务器不支持接收分片的数据,