xux

Results 2 comments of xux

> 服务器会抛下面这个异常 > `Unable to write data to the transport connection: 你的主机中的软件中止了一个已建立的连接。` > > 位置: > HttpResponse.cs > ![](https://camo.githubusercontent.com/811872224a0cd7c48d07dfb28e5907044dd4b9ee57831f946ccd136de5418cb5/68747470733a2f2f696d672e776179706f6e732e636f6d2f696d67732f323031392f31312f396632333665376464316131333861342e706e67) 我也发现这个问题了,咋解决的呢

我也发现这个问题了,搞了2天。 我修改了,分享下: //Request Body Body = GetRequestBody(rows); var contentLength = GetHeader(RequestHeaders.ContentLength); int length = 0; int totallen = 0; if (int.TryParse(contentLength, out totallen) && (Body.Length != totallen)) { do {...