start of new file
[IRC.git] / Robust / src / Benchmarks / Jhttpp2 / Java / Jhttpp2HTTPSession.java
index 66e80c4359d132054ab2df381565498b070f2b7a..cbcdd7816f4b56f769e969728170756454c4df01 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 BufferedInputStream(HTTP_Socket.getInputStream());
        HTTP_out = new BufferedOutputStream(HTTP_Socket.getOutputStream());
     }
   /** converts an String into a Byte-Array to write it with the OutputStream */