feat: Major server enhancements and build system - Implemented file caching system with LRU eviction - Added thread pool for connection handling - Improved MIME type detection and security headers - Added rate limiting per IP address - Enhanced logging system with rotation - Added proper signal handling and graceful shutdown - Implemented SSL/TLS support with modern cipher suites - Added license (MIT) and disclaimer - Fixed CSS/JS MIME type issues - Optimized socket configuration - Added sendfile() optimization - Improved error handling and memory management Technical changes: - Set TCP_NODELAY and optimized socket buffers - Implemented epoll-based async I/O - Added file cache with 1MB max file size - Set 100MB max log file size with rotation - Added thread pool with 32 max threads - Implemented rate limiting (100 requests/60s) - Added proper MIME type detection - Fixed CSP headers for external resources - Added comprehensive input sanitization - Improved SSL context configuration - Added proper resource cleanup
33 KiB
33 KiB