extremetable导出excel,弹出一个下载窗口,这时不点下载而点取消,则报下面的异常: ClientAbortException Caused by: java.net.SocketException: Connection reset by peer: socket write error 查了下TOMCAT的文档,解释如下: Wrap an IOException identifying it as being caused by an abort of a request by
1.废话不多说,直接上代码: using System; using System.IO; using System.Net; namespace AsyncProgram { class Program { static void Main(string[] args) { do { Console.WriteLine("请输入要下载的文件地址,输入quit退出!"); string url = Console.ReadLine(); if (url == "quit&qu