Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce rrdp::NotificationFile::parse_limited. #293

Merged
merged 2 commits into from
Jun 10, 2024

Conversation

partim
Copy link
Member

@partim partim commented Jun 6, 2024

This PR adds a new function rrdp::NotificationFile::parse_limited that allows limiting the number of delta items accepted. If there are more items, the list will be cut back to empty and a new method delta_status will report an error.

@partim partim requested a review from a team June 6, 2024 11:28
src/rrdp.rs Show resolved Hide resolved
src/rrdp.rs Show resolved Hide resolved
@partim partim merged commit bc614f4 into main Jun 10, 2024
24 checks passed
@partim partim deleted the limited-parse-notification branch June 10, 2024 11:53
partim added a commit that referenced this pull request Jun 10, 2024
New

* Added `rrdp::NotificationFile::parse_limited` that allows parsing while
  limiting the length of the list of deltas. ([#293])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants