2006-12-03 Igor Zelmanovich <igorz@mainsoft.com>
authorIgor Zelmanovich <igorz@mono-cvs.ximian.com>
Sun, 3 Dec 2006 09:11:46 +0000 (09:11 -0000)
committerIgor Zelmanovich <igorz@mono-cvs.ximian.com>
Sun, 3 Dec 2006 09:11:46 +0000 (09:11 -0000)
* HttpWriter.cs: reverted r38835.

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

mcs/class/System.Web/System.Web/ChangeLog
mcs/class/System.Web/System.Web/HttpWriter.cs

index 115ed522ce4ac8564e7ac56580bff30caa9d5211..98d9804001dd9a907939eebb1eef9ac53e60c945 100644 (file)
@@ -1,3 +1,7 @@
+2006-12-03 Igor Zelmanovich <igorz@mainsoft.com>
+
+       * HttpWriter.cs: reverted r38835.
+
 2006-12-01 Gonzalo Paniagua Javier <gonzalo@ximian.com>
 
        * HttpWriter.cs: remove unused WriteBytes method.
index 06e6ee7b8fbf455fffb833694070121739871909..9fb607c2a19b844f43952660516ebd22d17060b5 100644 (file)
@@ -161,6 +161,16 @@ namespace System.Web {
 
                        response.Flush ();
                }
+
+               public void WriteBytes (byte [] buffer, int index, int count)
+               {
+                       output_stream.Write (buffer, index, count);
+
+                       if (response.buffer)
+                               return;
+
+                       response.Flush ();
+               }
        }
 }