From 933aa566d30e07553ee4202ab0a6f16d141a5c1e Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Sat, 24 Mar 2012 23:30:12 -0400 Subject: [PATCH] lol junk --- cgi.d | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/cgi.d b/cgi.d index 311501c..bf5d7a3 100644 --- a/cgi.d +++ b/cgi.d @@ -741,7 +741,6 @@ class Cgi { immutable(ubyte)[] data; void rdo(const(ubyte)[] d) { - assert(d.length < 120); sendAll(ir.source, d); } @@ -1742,15 +1741,6 @@ mixin template CustomCgiMain(CustomCgi, alias fun, T...) if(is(CustomCgi : Cgi)) connection.close(); } bool closeConnection; -/* - auto sn = connection; - ubyte[1024] b; - sn.receive(b); - sendAll(sn, "HTTP/1.0 200 OK\r\n"); - sendAll(sn, "Content-Length:11\r\n\r\nHello world"); - sn.close(); - continue; -*/ auto ir = new BufferedInputRange(connection); while(!ir.empty) {