activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiram Chirino (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (APLO-255) Typo and weird exception text in StompCodec.scala
Date Tue, 11 Sep 2012 15:05:07 GMT

    [ https://issues.apache.org/jira/browse/APLO-255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453089#comment-13453089
] 

Hiram Chirino commented on APLO-255:
------------------------------------

Hi Christian.. could you open a separate issue for that.  Fixing this 'correctly' might take
a spec update. see: https://groups.google.com/d/topic/stomp-spec/SjlWAO9rhBc/discussion
                
> Typo and weird exception text in StompCodec.scala
> -------------------------------------------------
>
>                 Key: APLO-255
>                 URL: https://issues.apache.org/jira/browse/APLO-255
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>         Environment: apollo-99-trunk-20120829.114214-107
>            Reporter: Lionel Cons
>            Priority: Minor
>         Attachments: APLO-255_connect_as_telnet.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message