2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Tue, 14 Dec 2004 13:32:24 +0000 (13:32 -0000)
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>
Tue, 14 Dec 2004 13:32:24 +0000 (13:32 -0000)
* WebConnectionStream.cs: remove unneeded check. Write detects and
triggers the exception now.

svn path=/trunk/mcs/; revision=37745

mcs/class/System/System.Net/ChangeLog
mcs/class/System/System.Net/WebConnectionStream.cs

index d7b278902648cb655d7939a82847613e0ac91498..89408d3ce0543ee999baaf82d378c82926e510b6 100644 (file)
@@ -1,3 +1,8 @@
+2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * WebConnectionStream.cs: remove unneeded check. Write detects and
+       triggers the exception now.
+
 2004-12-14 Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * AuthenticationManager.cs: don't lock on a public Type.
index a3857ceac461a4de9d4696845d2be269bafb89a9..f2b6eb80a978f10d528a0feab46def12cf7bb57b 100644 (file)
@@ -435,8 +435,6 @@ namespace System.Net
                                return;
 
                        cnc.Write (bytes, 0, length);
-                       if (!cnc.Connected)
-                               throw new WebException ("Error writing request.", null, WebExceptionStatus.SendFailure, null);
                }
 
                internal void InternalClose ()