andrewmusselman opened a new issue, #551:
URL: https://github.com/apache/tooling-trusted-releases/issues/551

   ## Summary
   
   Timeout for HTTP requests is configured outside the application, needs 
documentation.
   
   ## ASVS Requirements
   
   - 1.5.1 - DoS protection
   
   ## Related Audit Reports
   
   - [Denial of Service #407](ASVS/denial-of-service-407.md) - Issue 6
   
   ## Affected Files
   
   - Server configuration (Hypercorn)
   
   ## Recommended Fix
   
   ```python
   # hypercorn_config.py
   bind = "0.0.0.0:8000"
   keep_alive_timeout = 5
   graceful_timeout = 10
   read_timeout = 60
   
   # Or in nginx:
   client_body_timeout 60s;
   client_header_timeout 60s;
   ```
   
   ## Acceptance Criteria
   
   - [ ] Request read timeout configured
   - [ ] Keep-alive timeout configured
   - [ ] Connection limits per IP
   - [ ] Document timeout settings


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to