Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1137

[proton-j] SaslSniffer throws exception if given less than 8 bytes.

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • proton-0.12.0
    • proton-j-future
    • proton-j
    • None

    Description

      The SaslSniffer 'transport wrapper' looks at the initial header to determine if Sasl is in use or not. It throws if the transport is fed less than 8 bytes. This seems incorrect since the full 8 may not yet be available at the time, and the full 8 may not even be needed to make a determination.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            robbie Robbie Gemmell

            Dates

              Created:
              Updated:

              Slack

                Issue deployment