-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Labels
documentationdocumentation to be updateddocumentation to be updatedenhancementImprovement to existing featureImprovement to existing feature
Description
Description
Currently there are multiple places throughout ColdFront where external web requests are made to other APIs that do not have timeouts. These could in theory block and contribute to a DOS. Since there are many places throughout ColdFront where API requests are made, it would be best if administrators could provide a standard amount of time they would like to give for a web request to take before it times out.
- A setting
REQUEST_TIMEOUT_SECONDS
should be added to allow admins to configure by default how long arbitrary requests made by ColdFront should take before timing out. - Timeouts should be added to all external API requests to prevent unintended DOS.
- Add linter rules to check that developers are using timeouts when calling to external services.
Component
No response
Additional information
Metadata
Metadata
Assignees
Labels
documentationdocumentation to be updateddocumentation to be updatedenhancementImprovement to existing featureImprovement to existing feature