Author: miguel
Date: 2006-10-30 18:00:56 -0500 (Mon, 30 Oct 2006)
New Revision: 67157
Modified:
trunk/mcs/class/System/System.Net/ChangeLog
trunk/mcs/class/System/System.Net/NetworkAccess.cs
trunk/mcs/class/System/System.Net/SecurityProtocolType.cs
trunk/mcs/class/System/System.Net/ServicePointManager.cs
trunk/mcs/class/System/System.Net/WebRequestMethods.cs
Log:
2006-10-30 Miguel de Icaza <[EMAIL PROTECTED]>
* WebRequestMethods.cs: Another typo fix.
* ServicePointManager.cs: Set the default properly.
* SecurityProtocolType.cs: Remove non-existant defines.
Modified: trunk/mcs/class/System/System.Net/ChangeLog
===================================================================
--- trunk/mcs/class/System/System.Net/ChangeLog 2006-10-30 22:44:53 UTC (rev
67156)
+++ trunk/mcs/class/System/System.Net/ChangeLog 2006-10-30 23:00:56 UTC (rev
67157)
@@ -1,3 +1,11 @@
+2006-10-30 Miguel de Icaza <[EMAIL PROTECTED]>
+
+ * WebRequestMethods.cs: Another typo fix.
+
+ * ServicePointManager.cs: Set the default properly.
+
+ * SecurityProtocolType.cs: Remove non-existant defines.
+
2006-10-04 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
* HttpWebRequest.cs: internally allow buffer if it's not a known
Modified: trunk/mcs/class/System/System.Net/NetworkAccess.cs
===================================================================
--- trunk/mcs/class/System/System.Net/NetworkAccess.cs 2006-10-30 22:44:53 UTC
(rev 67156)
+++ trunk/mcs/class/System/System.Net/NetworkAccess.cs 2006-10-30 23:00:56 UTC
(rev 67157)
@@ -33,18 +33,11 @@
namespace System.Net {
-
- /// <summary>
- /// </summary>
+ [Flags]
public enum NetworkAccess {
-
- /// <summary>
- /// </summary>
Accept = 128,
- /// <summary>
- /// </summary>
Connect = 64,
- } // NetworkAccess
+ }
-} // System.Net
+}
Modified: trunk/mcs/class/System/System.Net/SecurityProtocolType.cs
===================================================================
--- trunk/mcs/class/System/System.Net/SecurityProtocolType.cs 2006-10-30
22:44:53 UTC (rev 67156)
+++ trunk/mcs/class/System/System.Net/SecurityProtocolType.cs 2006-10-30
23:00:56 UTC (rev 67157)
@@ -31,17 +31,8 @@
[Flags]
[Serializable]
-#if NET_1_0
- internal
-#else
public
-#endif
enum SecurityProtocolType {
-
-#if NET_2_0
- Default = -1073741824,
- Ssl2 = 12,
-#endif
Ssl3 = 48,
Tls = 192
}
Modified: trunk/mcs/class/System/System.Net/ServicePointManager.cs
===================================================================
--- trunk/mcs/class/System/System.Net/ServicePointManager.cs 2006-10-30
22:44:53 UTC (rev 67156)
+++ trunk/mcs/class/System/System.Net/ServicePointManager.cs 2006-10-30
23:00:56 UTC (rev 67157)
@@ -64,11 +64,7 @@
private static int maxServicePointIdleTime = 900000; // 15
minutes
private static int maxServicePoints = 0;
private static bool _checkCRL = false;
-#if (NET_1_0 || NET_1_1)
- private static SecurityProtocolType _securityProtocol =
SecurityProtocolType.Ssl3;
-#else
- private static SecurityProtocolType _securityProtocol =
SecurityProtocolType.Default;
-#endif
+ private static SecurityProtocolType _securityProtocol =
SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls;
#if NET_1_1
static bool expectContinue = true;
static bool useNagle;
Modified: trunk/mcs/class/System/System.Net/WebRequestMethods.cs
===================================================================
--- trunk/mcs/class/System/System.Net/WebRequestMethods.cs 2006-10-30
22:44:53 UTC (rev 67156)
+++ trunk/mcs/class/System/System.Net/WebRequestMethods.cs 2006-10-30
23:00:56 UTC (rev 67157)
@@ -46,7 +46,7 @@
public const string DeleteFile = "DELE";
public const string DownloadFile = "RETR";
public const string GetFileSize = "SIZE";
- public const string GetDateTimestamps = "MDTM";
+ public const string GetDateTimestamp = "MDTM";
public const string ListDirectory = "NLST";
public const string ListDirectoryDetails = "LIST";
public const string MakeDirectory = "MKD";
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches