- Introduced a new logging system with configurable log levels and categories.
- Added support for different log formats: plain text, JSON, and syslog.
- Updated Dockerfile to use Alpine 3.19 and improved build process.
- Enhanced server configuration to replace verbose logging with log modes (off, classic, debug, advanced).
- Improved security measures in SSL context configuration.
- Added health checks and resource limits in docker-compose.yml.
- Refactored Makefile to include new logging source files.
- Updated server configuration to set default log file path and SSL certificate paths.
- Enhanced performance tracking and logging capabilities.
- Added hex dump utility for debugging binary data.
* Refactor carbon-server service in docker-compose.yml to use pre-built image and remove unnecessary build context and volume mounts
* Enhance performance and security features:
- Update compiler flags for better optimization and security.
- Implement MIME type caching for improved response handling.
- Introduce worker thread pool for efficient connection management.
- Optimize socket settings for low latency and enhanced performance.
- Add support for CPU affinity in worker threads.
- Implement graceful shutdown for worker threads during cleanup.
* Optimize HTTP response handling and increase request limits for improved performance
* Add gzip compression support for HTTP responses
* Implement Keep-Alive support for HTTP connections with timeout handling
Why is it not merging like this huh
* Refactor carbon-server service in docker-compose.yml to use pre-built image and remove unnecessary build context and volume mounts
* Enhance performance and security features:
- Update compiler flags for better optimization and security.
- Implement MIME type caching for improved response handling.
- Introduce worker thread pool for efficient connection management.
- Optimize socket settings for low latency and enhanced performance.
- Add support for CPU affinity in worker threads.
- Implement graceful shutdown for worker threads during cleanup.
* Optimize HTTP response handling and increase request limits for improved performance
* Add gzip compression support for HTTP responses
* Refactor carbon-server service in docker-compose.yml to use pre-built image and remove unnecessary build context and volume mounts
* Enhance performance and security features:
- Update compiler flags for better optimization and security.
- Implement MIME type caching for improved response handling.
- Introduce worker thread pool for efficient connection management.
- Optimize socket settings for low latency and enhanced performance.
- Add support for CPU affinity in worker threads.
- Implement graceful shutdown for worker threads during cleanup.
* Optimize HTTP response handling and increase request limits for improved performance
* Refactor carbon-server service in docker-compose.yml to use pre-built image and remove unnecessary build context and volume mounts
* Enhance performance and security features:
- Update compiler flags for better optimization and security.
- Implement MIME type caching for improved response handling.
- Introduce worker thread pool for efficient connection management.
- Optimize socket settings for low latency and enhanced performance.
- Add support for CPU affinity in worker threads.
- Implement graceful shutdown for worker threads during cleanup.
* Optimize HTTP response handling and increase request limits for improved performance
* Refactor carbon-server service in docker-compose.yml to use pre-built image and remove unnecessary build context and volume mounts
* Enhance performance and security features:
- Update compiler flags for better optimization and security.
- Implement MIME type caching for improved response handling.
- Introduce worker thread pool for efficient connection management.
- Optimize socket settings for low latency and enhanced performance.
- Add support for CPU affinity in worker threads.
- Implement graceful shutdown for worker threads during cleanup.
* Add Dockerfile and docker-compose.yml for containerized setup; create .dockerignore
* Update CI pipeline and Docker configuration for improved build process and health checks
* Add Dockerfile and docker-compose.yml for containerized setup; create .dockerignore
* Update CI pipeline and Docker configuration for improved build process and health checks
- Add NULL checks after malloc() calls in HTTP/HTTPS thread creation
- Add error checking for fcntl() calls to prevent silent failures
- Add integer overflow protection in WebSocket frame handling
- Improve socket option error handling with proper validation
- Add SIZE_MAX check in ws_send_frame to prevent overflow
These fixes address potential crashes and security issues in high-load
scenarios and improve overall robustness of the server.
- Added SSL certificate and key paths to ServerConfig structure.
- Updated init_config function to initialize new SSL paths.
- Formated code for better readability.
- Added max_connections option to server configuration
- Updated Makefile to include performance.c and related headers
- Implemented memory-mapped file caching and buffer pooling for improved performance
- Refactored config parser to handle new configuration options
- Increased maximum request size and optimized file handling