[System]: Remove 'SECURITY_DEP' conditional from HttpListener and related classes...
[mono.git] / mcs / class / System / System.Net / ChunkedInputStream.cs
index 5a46e510525ae070f3136244492bad3ddb487be7..04aa77310a62ee2f7181e3f65854e06d81fe4c6e 100644 (file)
 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
-#if SECURITY_DEP
-
 using System.IO;
 using System.Net.Sockets;
 using System.Runtime.InteropServices;
 namespace System.Net {
        class ChunkedInputStream : RequestStream {
                bool disposed;
-               ChunkStream decoder;
+               MonoChunkStream decoder;
                HttpListenerContext context;
                bool no_more_data;
 
@@ -60,10 +58,10 @@ namespace System.Net {
                {
                        this.context = context;
                        WebHeaderCollection coll = (WebHeaderCollection) context.Request.Headers;
-                       decoder = new ChunkStream (coll);
+                       decoder = new MonoChunkStream (coll);
                }
 
-               public ChunkStream Decoder {
+               public MonoChunkStream Decoder {
                        get { return decoder; }
                        set { decoder = value; }
                }
@@ -173,4 +171,3 @@ namespace System.Net {
                }
        }
 }
-#endif