Jens Geyer created THRIFT-6006:
----------------------------------

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


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)

Reply via email to