proxy progress

This commit is contained in:
rusefi 2020-07-08 20:51:46 -04:00
parent 37d86fdc99
commit 95de151635
1 changed files with 3 additions and 3 deletions

View File

@ -24,15 +24,15 @@ public class TcpIoStream implements IoStream {
private IncomingDataBuffer dataBuffer;
public TcpIoStream(Logger logger, Socket socket) throws IOException {
InputStream input1 = new BufferedInputStream(socket.getInputStream());
InputStream input = new BufferedInputStream(socket.getInputStream());
OutputStream output = socket.getOutputStream();
this.logger = logger;
if (input1 == null)
if (input == null)
throw new NullPointerException("input");
if (output == null)
throw new NullPointerException("output");
this.output = output;
this.input = input1;
this.input = input;
}
private TcpIoStream(Logger logger, InputStream input, OutputStream output) {