Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.3.0
-
None
Description
inside SockteTeeWriter.Tee.setup(), the output steam should be created
early on in order for parser exceptions to be properly sent to the
client.
the patch is to simply move the creation of the output stream up like this:
in = new BufferedReader(new InputStreamReader(sock.getInputStream()));
out = new DataOutputStream(sock.getOutputStream());
....
rules = new Filter(cmdAfterSpace);