remove file
authorbdemsky <bdemsky>
Tue, 6 Nov 2007 09:05:31 +0000 (09:05 +0000)
committerbdemsky <bdemsky>
Tue, 6 Nov 2007 09:05:31 +0000 (09:05 +0000)
Robust/src/Benchmarks/Jhttpp2/Java/Jhttpp2HTTPSession.java
Robust/src/Benchmarks/Jhttpp2/Java/Jhttpp2ServerInputStream.java [deleted file]

index 66e80c4359d132054ab2df381565498b070f2b7a..64f95a95aa48af886209cbe98e620e219db5e455 100644 (file)
@@ -63,7 +63,7 @@ public class Jhttpp2HTTPSession extends Thread {
     /** upstream connections */
     private Socket HTTP_Socket;
     private BufferedOutputStream HTTP_out;
-    private Jhttpp2ServerInputStream HTTP_in;
+    private BufferedInputStream HTTP_in;
     
        public Jhttpp2HTTPSession(Jhttpp2Server server,Socket client) {
            init();
@@ -282,7 +282,7 @@ public class Jhttpp2HTTPSession extends Thread {
     /** connects to the given host and port */
     public void connect(InetAddress host,int port) {
        HTTP_Socket = new Socket(host,port);
-       HTTP_in = new Jhttpp2ServerInputStream(server,this,HTTP_Socket.getInputStream(),false);
+       HTTP_in = new BuferedInputStream(HTTP_Socket.getInputStream());
        HTTP_out = new BufferedOutputStream(HTTP_Socket.getOutputStream());
     }
   /** converts an String into a Byte-Array to write it with the OutputStream */
diff --git a/Robust/src/Benchmarks/Jhttpp2/Java/Jhttpp2ServerInputStream.java b/Robust/src/Benchmarks/Jhttpp2/Java/Jhttpp2ServerInputStream.java
deleted file mode 100755 (executable)
index 0347082..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-/* Written and copyright 2001 Benjamin Kohl.\r
- * Distributed under the GNU General Public License; see the README file.\r
- * This code comes with NO WARRANTY.\r
- */\r
-\r
-import java.io.BufferedInputStream;\r
-import java.io.InputStream;\r
-import java.io.IOException;\r
-\r
-public class Jhttpp2ServerInputStream extends BufferedInputStream {\r
-        private Jhttpp2HTTPSession connection;\r
-\r
-    public Jhttpp2ServerInputStream(Jhttpp2Server server,Jhttpp2HTTPSession connection,InputStream a,boolean filter) {\r
-       super(a);\r
-       this.connection=connection;\r
-    }\r
-    public int read_f(byte[] b) {\r
-       return read(b);\r
-    }\r
-}\r
-\r