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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17403245#comment-17403245 ] 

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

Commit c7f3311426d787fecdbb697f656fc76401997544 in qpid-proton-j's branch refs/heads/main from Robbie Gemmell
[ https://gitbox.apache.org/repos/asf?p=qpid-proton-j.git;h=c7f3311 ]

PROTON-2416: frame writer should reset its position on failure


> 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