Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
apollo-99-trunk-20120829.114214-107
Description
While interacting with the broker via telnet, Apollo complained with:
]012-08-29 15:08:00,619 Shutting connection 'null' down due to: java.io.IOException: Unable to parser header line [ascii:
The ] at the beginning is weird, this comes from a control character (^M) being logged.
The invalid data should be properly escaped before being turned into an exception. Here is the current code:
throw new IOException("Unable to parser header line [" + line + "]")
Then you may want to s/to parser/to parse/g.
Attachments
Attachments
Issue Links
- relates to
-
APLO-259 Support Telnet clients that send '\r\n' character to terminate a line
- Resolved