You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@thrift.apache.org by "Jens Geyer (Jira)" <ji...@apache.org> on 2026/09/22 23:25:00 UTC

[jira] [Resolved] (THRIFT-6360) c_glib framed transport reports a frame as sent when the underlying write or flush fails

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

Jens Geyer resolved THRIFT-6360.
--------------------------------
    Fix Version/s: 0.26.0
         Assignee: Jens Geyer
       Resolution: Fixed

> c_glib framed transport reports a frame as sent when the underlying write or flush fails
> ----------------------------------------------------------------------------------------
>
>                 Key: THRIFT-6360
>                 URL: https://issues.apache.org/jira/browse/THRIFT-6360
>             Project: Thrift
>          Issue Type: Bug
>          Components: C glib - Library
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>            Priority: Minor
>             Fix For: 0.26.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {{thrift_framed_transport_flush()}} ignores the results of the underlying transport's {{write()}} and {{flush()}} and returns TRUE. A frame that never reached the underlying transport is reported as sent, and when both calls fail, the second sets a {{GError}} over the first.
> Proposed change: return FALSE when either call fails, and do not flush after a failed write.
> _Drafted with AI assistance (Claude Opus 5); reviewed and posted by Jens Geyer._



--
This message was sent by Atlassian Jira
(v8.20.10#820010)