[
https://issues.apache.org/jira/browse/THRIFT-6006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer updated THRIFT-6006:
-------------------------------
Summary: Implement MESSAGE_SIZE_LIMIT exception type for Haxe library
(was: THRIFT-5858: Implement MESSAGE_SIZE_LIMIT exception type for Haxe library)
> 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: 20m
> 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)