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:29:00 UTC

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

Robbie Gemmell created PROTON-2416:
--------------------------------------

             Summary: 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
             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