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

ASF subversion and git services commented on PROTON-2978:
---------------------------------------------------------

Commit 9e02ba75dcaf4b257646ccb5c633a533b224e478 in qpid-proton's branch 
refs/heads/main from Andrew Stitcher
[ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=9e02ba75d ]

PROTON-2978: Improve transfer performative validation

- Ensure that our transfer frame will fit inside the allowed frame size
- Correct checking for delivery-id, delivery-tag and message-format
  - Every delivery must have an id. If present in continuation
    transfers it must be the same id
  - Every delivery must have a tag. If present in continuation
    transfers it must be the same tag
  - Every delivery must have a message-format. If present in
    continuation transfers it must be the same message-format.
    This field was not previously decoded at all
- Add tests for the above, and for discarding the remaining frames of a
  partial delivery that the application has already settled


> Improve validation of transfer performatives
> --------------------------------------------
>
>                 Key: PROTON-2978
>                 URL: https://issues.apache.org/jira/browse/PROTON-2978
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>            Priority: Major
>             Fix For: proton-c-0.41.0
>
>
> Currently we are accepting transfer performatives that are illegal, we should 
> reject them instead.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to