/** 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();
/** 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 */