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

Enables adding a custom timeout for requests. Fixes bug for current server timeout role attribute #142

Merged
merged 3 commits into from
Feb 29, 2024

Conversation

luispresuelVenafi
Copy link
Contributor

  • Enables custom timeout in requests using current server_timeout attribute for role entry.
  • Fixes bug that would lead to unexpected value be saved into role entry while using server_timeout attribute.
  • Exposes server_timeout attribute in response when role attributes are displayed in read operation.

…ibute -server_timeout as doing TypeInt vs TypeSeconds and current duration conversion led to unexpect value be saved in role entry. Also adds the value to be returned in role read operation response
go.mod Outdated Show resolved Hide resolved
…t by usin Timeout from request wrapper. Changes validations to only accept positive values for timeout
plugin/pki/vcert.go Show resolved Hide resolved
@luispresuelVenafi luispresuelVenafi merged commit df3e989 into master Feb 29, 2024
2 checks passed
@luispresuelVenafi luispresuelVenafi deleted the custom-timeout branch February 29, 2024 16:05
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.

3 participants