Jens-G opened a new pull request, #3550: URL: https://github.com/apache/thrift/pull/3550
## Summary - Adds `increment_recursion_depth` / `decrement_recursion_depth` methods to `BaseProtocol` - Limit is 64; raises `ProtocolException::DEPTH_LIMIT` when exceeded - `Struct` module's `read` / `write` methods wrap the body with `begin/ensure` to guarantee the counter is always restored ## Test plan - [ ] Unit tests for depth allow/reject/restore via `ruby -Ilib test/unit/...` - [ ] Cross-language tests unaffected 🤖 Generated with [Claude Code](https://claude.ai/claude-code) Co-Authored-By: Claude Sonnet 4.6 <[email protected]> -- 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]
