Uploaded image for project: 'ActiveMQ Apollo (Retired)'
  1. ActiveMQ Apollo (Retired)
  2. APLO-255

Typo and weird exception text in StompCodec.scala

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.5
    • apollo-stomp
    • 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

        1. APLO-255_connect_as_telnet.patch
          42 kB
          Christian Posta

        Issue Links

          Activity

            People

              chirino Hiram R. Chirino
              lionel.cons Lionel Cons
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: