-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Handle all 404 endpoints with RateLimit404 to mitigate DoS
- Added RateLimit404 class to restrict repeated 404 requests, reducing potential DoS vectors. - Enhanced error logging in process_webhook to capture full exception info. - Improved request cleanup in RateLimit404 to prevent memory overflow. - Updated server startup error handling to provide clearer diagnostics.
- Loading branch information
Showing
1 changed file
with
57 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters