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

[jira] [Commented] (THRIFT-6006) THRIFT-5858: Implement MESSAGE_SIZE_LIMIT exception type for Haxe library

    [ https://issues.apache.org/jira/browse/THRIFT-6006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18081103#comment-18081103 ] 

Jens Geyer commented on THRIFT-6006:
------------------------------------

Draft PR submitted: https://github.com/apache/thrift/pull/3485

> THRIFT-5858: Implement MESSAGE_SIZE_LIMIT exception type for Haxe library
> -------------------------------------------------------------------------
>
>                 Key: THRIFT-6006
>                 URL: https://issues.apache.org/jira/browse/THRIFT-6006
>             Project: Thrift
>          Issue Type: Sub-task
>          Components: Haxe - Library
>            Reporter: Jens Geyer
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Implement the MESSAGE_SIZE_LIMIT transport exception type for the Haxe library, analogous to the Java fix in THRIFT-5858.
> Changes:
> - Add MESSAGE_SIZE_LIMIT = 6 (and CORRUPTED_DATA = 5) constants to TTransportException
> - Replace END_OF_FILE throws with MESSAGE_SIZE_LIMIT in TEndpointTransport (ResetConsumedMessageSize, CheckReadBytesAvailable, CountConsumedMessageBytes)
> - Improve error messages to include the configured limit and actual values



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