[ https://issues.apache.org/jira/browse/PROTON-2873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17933147#comment-17933147 ]
ASF subversion and git services commented on PROTON-2873: --------------------------------------------------------- Commit cfa3fb5c9daa8a652e71b14a8ed71e31eaa9d645 in qpid-proton's branch refs/heads/main from Andrew Stitcher [ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=cfa3fb5c9 ] PROTON-2873: Correctly switch disposition type for existing deliveries This bug was found by the OSS Fuzz project. > Reorganize delivery disposition API and representation > ------------------------------------------------------ > > Key: PROTON-2873 > URL: https://issues.apache.org/jira/browse/PROTON-2873 > Project: Qpid Proton > Issue Type: Improvement > Components: proton-c > Affects Versions: proton-c-0.40.0 > Reporter: Andrew Stitcher > Assignee: Andrew Stitcher > Priority: Major > > The internal representation and modelling for delivery dispositions is > significantly different from the model of dispositions in the AMQP spec. > One case in point causes the disposition representation to use more space > than necessary as every field in every possible type of disposition is > present. A better representation would be a union of the different > disposistion types so that only the needed fields of whichever specific type > of disposition is being used is present. > For the present this would need to be additional APIs to maintain backwards > compatibility. But the current disposition API should be deprecated and could > be removed for a 1.0 release. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org