Преглед изворни кода

2006-12-03 Igor Zelmanovich <[email protected]>

	* HttpWriter.cs: reverted r38835.


svn path=/trunk/mcs/; revision=68885
Igor Zelmanovich пре 19 година
родитељ
комит
54d96df244

+ 4 - 0
mcs/class/System.Web/System.Web/ChangeLog

@@ -1,3 +1,7 @@
+2006-12-03 Igor Zelmanovich <[email protected]>
+
+	* HttpWriter.cs: reverted r38835.
+
 2006-12-01 Gonzalo Paniagua Javier <[email protected]>
 
 	* HttpWriter.cs: remove unused WriteBytes method.

+ 10 - 0
mcs/class/System.Web/System.Web/HttpWriter.cs

@@ -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 ();
+		}
 	}
 }