-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
DepthLimiter
and adapt to the Read/WriteXDR (#158)
* Add `DepthLimiter` and adapt to the Read/WriteXDR * Remove external depth_limit dependency * Use global constant default depth limit * Revert "Use global constant default depth limit" This reverts commit 6a6a6a4. * Use pub (non-static) const DEFAULT_MAX_DEPTH_LIMIT * fixup! Use pub (non-static) const DEFAULT_MAX_DEPTH_LIMIT * Update test files * Add comments * fixup! Add comments * fixup! Add comments * Rename `depth` for clarity; add methods for user-passed depth limit * Rename the constant for better clarity * fixup! Rename the constant for better clarity * fixup! Rename the constant for better clarity * fixup! Rename the constant for better clarity * Remove `RefCell`; make `leave()` fallible
- Loading branch information
Showing
12 changed files
with
5,499 additions
and
2,603 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.