From: bdemsky Date: Tue, 6 Nov 2007 09:05:31 +0000 (+0000) Subject: remove file X-Git-Tag: preEdgeChange~390 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=660ce1cdb316635c21246d7a75efac86916eefff;p=IRC.git remove file --- diff --git a/Robust/src/Benchmarks/Jhttpp2/Java/Jhttpp2HTTPSession.java b/Robust/src/Benchmarks/Jhttpp2/Java/Jhttpp2HTTPSession.java index 66e80c43..64f95a95 100644 --- a/Robust/src/Benchmarks/Jhttpp2/Java/Jhttpp2HTTPSession.java +++ b/Robust/src/Benchmarks/Jhttpp2/Java/Jhttpp2HTTPSession.java @@ -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 index 03470824..00000000 --- a/Robust/src/Benchmarks/Jhttpp2/Java/Jhttpp2ServerInputStream.java +++ /dev/null @@ -1,21 +0,0 @@ -/* Written and copyright 2001 Benjamin Kohl. - * Distributed under the GNU General Public License; see the README file. - * This code comes with NO WARRANTY. - */ - -import java.io.BufferedInputStream; -import java.io.InputStream; -import java.io.IOException; - -public class Jhttpp2ServerInputStream extends BufferedInputStream { - private Jhttpp2HTTPSession connection; - - public Jhttpp2ServerInputStream(Jhttpp2Server server,Jhttpp2HTTPSession connection,InputStream a,boolean filter) { - super(a); - this.connection=connection; - } - public int read_f(byte[] b) { - return read(b); - } -} -