JackieTien97 opened a new pull request, #17612: URL: https://github.com/apache/iotdb/pull/17612
This pull request introduces a new string length protection mechanism in the `TElasticFramedTransport` class to prevent excessively large string reads, and adds a new file to the `.worktreeinclude` list. The main focus is on improving safety and configuration by enforcing a maximum allowed string length during RPC operations. **String Length Protection Enhancements:** * Added a new `FrameError.STRING_LENGTH_EXCEEDED` error type to handle cases where the string length exceeds the configured maximum, and updated the `throwException` method to support this new error. * Updated the `checkReadBytesAvailable` method to throw the new `STRING_LENGTH_EXCEEDED` error and close the connection if a string read request exceeds the maximum allowed size, enhancing security and robustness. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
