HttpListener服务器读流失败问题 求助
HttpListener做HTTP服务器,上传图片读取inputstream报异常,ReadByte能读取到部分字节就报异常,
怀疑是连接超时,各种设置无效,程序在多台服务器上都没问题,有一台服务器会报这个异常,而服务器各项服务无异常
有遇到过这个问题的大神吗 求指导
System.Net.HttpListenerException (0x80004005): 企图在不存在的网络连接上进行操作。
at System.Net.HttpResponseStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at System.Net.HttpListenerResponse.Dispose(Boolean disposing)
at System.Net.HttpListenerResponse.System.IDisposable.Dispose()
at System.Net.HttpListenerResponse.Close()