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

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

Jens Geyer created THRIFT-6360:
----------------------------------

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


{{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)