You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Robbie Gemmell (JIRA)" <ji...@apache.org> on 2016/02/17 15:31:18 UTC

[jira] [Created] (PROTON-1137) [proton-j] SaslSniffer throws exception if given less than 8 bytes.

Robbie Gemmell created PROTON-1137:
--------------------------------------

             Summary: [proton-j] SaslSniffer throws exception if given less than 8 bytes.
                 Key: PROTON-1137
                 URL: https://issues.apache.org/jira/browse/PROTON-1137
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-j
    Affects Versions: 0.12.0
            Reporter: Robbie Gemmell


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)