You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Hiram Chirino (JIRA)" <ji...@apache.org> on 2012/10/03 00:39:07 UTC

[jira] [Commented] (PROTON-49) Attach frames improperly encoded.

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

Hiram Chirino commented on PROTON-49:
-------------------------------------

Sample Attach frame generated from proton-j in hex:

00 00 00 73 02 00 00 00 00 53 12 c0 64 07 a1 22 2d 37 39 38 
35 38 35 35 38 35 35 35 38 39 31 37 31 30 37 38 2f 30 2f 74 
65 73 74 71 75 65 75 65 2f 30 43 41 50 02 50 00 00 53 28 c0 
25 01 a1 22 2d 37 39 38 35 38 35 35 38 35 35 35 38 39 31 37 
31 30 37 38 2f 30 2f 74 65 73 74 71 75 65 75 65 2f 30 00 53 
29 c0 0c 01 a1 09 74 65 73 74 71 75 65 75 65 

Note that the "c0 64 07" starts a list which should be followed by 0x64 (100) bytes.  But the list actually contains 102 bytes.

                
> Attach frames improperly encoded.
> ---------------------------------
>
>                 Key: PROTON-49
>                 URL: https://issues.apache.org/jira/browse/PROTON-49
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>            Reporter: Hiram Chirino
>
> SwitfMQ client fails to decode Attach frames encoded with proton-j that have the target or source fields set.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira