qpid-proton mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajith Attapattu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PROTON-543) Frame Parser error if input stream is read before SASL is initialized in the transport
Date Thu, 27 Mar 2014 18:40:14 GMT
Rajith Attapattu created PROTON-543:
---------------------------------------

             Summary: Frame Parser error if input stream is read before SASL is initialized
in the transport
                 Key: PROTON-543
                 URL: https://issues.apache.org/jira/browse/PROTON-543
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-j
    Affects Versions: 0.6, 0.5
            Reporter: Rajith Attapattu
            Assignee: Rajith Attapattu


If the input stream is read and passed into the transport, before the sasl() method of TransportImpl.java
is called then the _inputProcessor defaults to FrameParser instead of being wrapped by the
SASL frame parser.
This causes a Frame Parsing error as it expects '0' as per the regular header but instead
finds '3' which is the correct format if the process is the SASL frame parser.

As per the discussion on @proton we decide to throw an exception if sasl is set after the
input stream has been processed.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message