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

Alan Conway commented on PROTON-807:
------------------------------------

Fixed the decoding problem. Did not modify proton to use small encodings, this 
needs more thought. Needs to work correctly with arrays, so encoder must know 
whether in array context and use array encoding if specified. Will raise 
separate issue. 

Has been verified to work with dispatch, proton needs additional tests for 
optional types (e.g. small long) that it does not generate. Will raise separate 
issue.

> Proton does not decode AMQP small long encoding correctly and does not use it.
> ------------------------------------------------------------------------------
>
>                 Key: PROTON-807
>                 URL: https://issues.apache.org/jira/browse/PROTON-807
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: 0.8
>            Reporter: Alan Conway
>            Assignee: Alan Conway
>             Fix For: 0.9
>
>
> Proton incorrectly decodes an AMQP small long encoded value of -1 as 255.
> Proton itself never uses the small long encoding but qpid dispatch does, 
> which is where this cropped up.



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

Reply via email to