2
0
Эх сурвалжийг харах

2010-03-06 Gonzalo Paniagua Javier <[email protected]>

	* WebClient.cs: fix for UploadStringAsync(). Closes bug #577818.
	Patch by Atsushi.


svn path=/trunk/mcs/; revision=153180
Gonzalo Paniagua Javier 16 жил өмнө
parent
commit
cff198e18c

+ 5 - 0
mcs/class/System/System.Net/ChangeLog

@@ -1,3 +1,8 @@
+2010-03-06 Gonzalo Paniagua Javier <[email protected]>
+
+	* WebClient.cs: fix for UploadStringAsync(). Closes bug #577818.
+	Patch by Atsushi.
+
 2010-03-04  Atsushi Enomoto  <[email protected]>
 
 	* HttpListenerContext.cs : WWW-Authenticate header should not be

+ 2 - 2
mcs/class/System/System.Net/WebClient.cs

@@ -8,7 +8,7 @@
 //	Miguel de Icaza ([email protected])
 //
 // Copyright 2003 Ximian, Inc. (http://www.ximian.com)
-// Copyright 2006, 2007 Novell, Inc. (http://www.novell.com)
+// Copyright 2006, 2010 Novell, Inc. (http://www.novell.com)
 //
 //
 // Permission is hereby granted, free of charge, to any person obtaining
@@ -1402,7 +1402,7 @@ namespace System.Net
 				throw new ArgumentNullException ("data");
 			
 			lock (this) {
-				SetBusy ();
+				CheckBusy ();
 				async = true;
 				
 				async_thread = new Thread (delegate (object state) {