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

daemon --ttl and other options should have range validation #56

Open
scott-ainsworth opened this issue Dec 6, 2021 · 0 comments · Fixed by #57
Open

daemon --ttl and other options should have range validation #56

scott-ainsworth opened this issue Dec 6, 2021 · 0 comments · Fixed by #57
Assignees
Labels
bug Something isn't working
Milestone

Comments

@scott-ainsworth
Copy link
Owner

Problem

Currently the --polling-interval, --timeout, and --ttl options accept any u64 value.

Requirements

  • Add range validation for --polling-interval: 10 – 60 seconds.
  • Add range validation for --timeout: 10 – 300 seconds.
  • Add range validation for --ttl: 0 – 231-1 seconds.
scott-ainsworth added a commit that referenced this issue Dec 6, 2021
- Validate the `--polling-interval` command line option
- Validate the `--timeout` command line option
- Validate the `--ttl` command line option

Issue #56
scott-ainsworth added a commit that referenced this issue Dec 6, 2021
- Validate the `--polling-interval` command line option
- Validate the `--timeout` command line option
- Validate the `--ttl` command line option

Issue #56
@scott-ainsworth scott-ainsworth added the bug Something isn't working label Dec 7, 2021
@scott-ainsworth scott-ainsworth self-assigned this Dec 7, 2021
@scott-ainsworth scott-ainsworth added this to the Version 1.1 milestone Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant