Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mcs/class/System/System.Net/ChangeLog6
-rw-r--r--mcs/class/System/System.Net/FtpWebRequest.cs2
2 files changed, 7 insertions, 1 deletions
diff --git a/mcs/class/System/System.Net/ChangeLog b/mcs/class/System/System.Net/ChangeLog
index b0c95fca9e1..525df366daf 100644
--- a/mcs/class/System/System.Net/ChangeLog
+++ b/mcs/class/System/System.Net/ChangeLog
@@ -1,4 +1,10 @@
+2008-10-31 Gonzalo Paniagua Javier <gonzalo@novell.com>
+
+ * FtpWebRequest.cs: disable keep-alive connections as the current code
+ does not deal with keep-alive connections.
+ Workaround for bug #380262.
+
2008-10-30 Gonzalo Paniagua Javier <gonzalo@novell.com>
* WebConnectionStream.cs: when there's a NTLM authentication in
diff --git a/mcs/class/System/System.Net/FtpWebRequest.cs b/mcs/class/System/System.Net/FtpWebRequest.cs
index c343f960abe..0789d78d229 100644
--- a/mcs/class/System/System.Net/FtpWebRequest.cs
+++ b/mcs/class/System/System.Net/FtpWebRequest.cs
@@ -37,7 +37,7 @@ namespace System.Net
bool binary = true;
bool enableSsl = false;
bool usePassive = true;
- bool keepAlive = true;
+ bool keepAlive = false;
string method = WebRequestMethods.Ftp.DownloadFile;
string renameTo;
object locker = new object ();