keylime
keylime copied to clipboard
http requests (sent by using RequestsClient) don’t use any connection timeout value
Is your an issue a feature request? If so, please raise it as an enhancement
Environment
- OS / version: Ubuntu 20
- Processor architecture:
- TPM Manufacturer:
- Keylime version: d632e2a
Description
http requests (sent by using RequestsClient) don’t use any connection timeout value
Expected behavior vs. actual behavior
Default timeout should be provided while making http requests. (timeout value should ideally be configurable in keylime.conf)
Steps to reproduce problem
- No time out while e.g. in tenant.py#L558, tenant.py#L593](https://github.com/keylime/keylime/blob/master/keylime/tenant.py#L593),..
Relevant logs
Attach any relevant log files that can help to debug your issue.
Thank you for reporting your first issue. If the issue relates to a change you intend to work on, please comment with "please assign"
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 7 days if no further activity occurs. Thank you for your contributions.
@mpeters I believe this has been indeed solved in the latest code (e.g., timeout=self.request_timeout
on all REST API calls)
Yes is is fixed.