http请求超时异常记录
而在浏览器中访问正常,
在设置WebRequest的TimeOut为超长时间后,在程序中依然有如下异常
异常提示如下:
The operation has timed out
System.Net.WebResponse GetResponse
解决1:Dispose你的Response;
解决2:参考下面这个链接
http://stackoverflow.com/questions/5827030/httpwebrequest-times-out-on-second-call
http://blogs.msdn.com/b/adarshk/archive/2005/01/02/345411.aspx