[
https://issues.apache.org/jira/browse/THRIFT-6007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18081104#comment-18081104
]
Jens Geyer commented on THRIFT-6007:
------------------------------------
Draft PR submitted: https://github.com/apache/thrift/pull/3486
> 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
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)