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

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

Commit 2dbadb4196455e21f70c72075828ec46de133a63 in qpid-proton-j's branch 
refs/heads/0.27.x from [~gemmellr]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton-j.git;h=2dbadb4 ]

PROTON-1891: ensure the empty slice rejects appends like non-empty slices do

(cherry picked from commit e36cc1d4a5858521c46ed82195dd5bccd87e706d)


> empty composite buffer slice should not allow appending new data
> ----------------------------------------------------------------
>
>                 Key: PROTON-1891
>                 URL: https://issues.apache.org/jira/browse/PROTON-1891
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>    Affects Versions: proton-j-0.27.1
>            Reporter: Robbie Gemmell
>            Assignee: Robbie Gemmell
>            Priority: Minor
>             Fix For: proton-j-0.28.0
>
>
> The CompositeReadableBuffer allows aggregating incoming data to be used by 
> other areas. If a CRB is sliced we prevent appending the slice with new data, 
> however a specific empty slice is returned if the buffer had no readable data 
> and this doesn't do the same as intended.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to