DescriptionIn testing I found the the StreamProxy class was throwing a NullPointerException when trying to parse a null through StringTokenizer. This happens when the client connects to the proxy and disconnects without ever sending a request.
I suspect this would never happen in the app, but should be checked so that other tests can do this action.
This patch includes a test case to check for the problem and a patch. It also includes some code cleanup (created a constant for the logging in StreamProxy to match the other classes).
Patch Set 1 #
Total comments: 15
Patch Set 2 : Updated to reflect comments. #
MessagesTotal messages: 6
|