WebRequest方式下载,速度只有30KB/s

解决方案 »

  1.   

    看看是不是这个原因:What I have found to be the main culprit with slow web requests is the proxy property. If you set this property to null before you call the GetResponse method the query will skip the proxy autodetect step.The proxy autodetect was taking up to 7 seconds to query before returning the response. It is a little annoying that this property is set on by default for the HttpWebRequest object.来自:
    http://stackoverflow.com/questions/2519655/httpwebrequest-is-extremely-slow
      

  2.   


    就是把Request的proxy 属性设置成NULL,再调用GetResponse.
      

  3.   

    和这没有关系,用WebRequest编写的简单下载器就是这样慢,并且不稳定容易报连接错误。