Jens Geyer created THRIFT-6007:
----------------------------------

             Summary: THRIFT-5858: Implement MESSAGE_SIZE_LIMIT exception type 
for Delphi library
                 Key: THRIFT-6007
                 URL: https://issues.apache.org/jira/browse/THRIFT-6007
             Project: Thrift
          Issue Type: Sub-task
          Components: Delphi - Library
            Reporter: Jens Geyer


Implement the MESSAGE_SIZE_LIMIT transport exception type for the Delphi 
library, analogous to the Java fix in THRIFT-5858.

Changes:
- Add MessageSizeLimit to TExceptionType enum in TTransportException
- Add TTransportExceptionMessageSizeLimit class with GetType implementation
- Handle MessageSizeLimit in the deprecated Create factory method
- Replace TTransportExceptionEndOfFile throws with 
TTransportExceptionMessageSizeLimit in TEndpointTransportBase 
(ResetMessageSizeAndConsumedBytes, 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