Revert "Added request.Proxy=null everywhere, as discussed in http://stackoverflow.com/questions/2519655/httpwebrequest-is-extremely-slow."

But the patch is here, in case anyone wants to try it.

This reverts commit 531edd51d8.
This commit is contained in:
Diva Canto
2012-09-30 07:48:03 -07:00
parent 531edd51d8
commit 91a5c602e3
25 changed files with 8 additions and 41 deletions

View File

@@ -1150,7 +1150,6 @@ namespace Nwc.XmlRpc
request.ContentType = "text/xml";
request.AllowWriteStreamBuffering = true;
request.KeepAlive = !_disableKeepAlive;
request.Proxy = null;
Stream stream = request.GetRequestStream();
XmlTextWriter xml = new XmlTextWriter(stream, Encoding.ASCII);