You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Robbie Gemmell (Jira)" <ji...@apache.org> on 2021/08/23 15:46:00 UTC

[jira] [Resolved] (PROTON-2416) frame writer should reset its position on failure

     [ https://issues.apache.org/jira/browse/PROTON-2416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robbie Gemmell resolved PROTON-2416.
------------------------------------
    Resolution: Fixed

> frame writer should reset its position on failure
> -------------------------------------------------
>
>                 Key: PROTON-2416
>                 URL: https://issues.apache.org/jira/browse/PROTON-2416
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>    Affects Versions: proton-j-0.33.8
>            Reporter: Robbie Gemmell
>            Assignee: Robbie Gemmell
>            Priority: Minor
>             Fix For: proton-j-0.33.9
>
>
> When writing a frame, the frame writer moves the position ahead to leave room for the frame header, then writes the frame performative and payload, and goes back and fills out the header once the frame size is known. It should ensure the position is reset if the process fails and no frame is written.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org