Commit Graph

10 Commits

Author SHA1 Message Date
812636caf8 Job test
Some checks failed
C/C++ CI / build (push) Failing after 1m12s
C/C++ CI / test (push) Has been skipped
C/C++ CI / security-scan (push) Has been cancelled
C/C++ CI / code-quality (push) Has been cancelled
CI Pipeline / test (push) Has been cancelled
CI Pipeline / security-scan (push) Has been cancelled
CI Pipeline / code-quality (push) Has been cancelled
CI Pipeline / docker-build (push) Has been cancelled
CI Pipeline / build (push) Has been cancelled
2025-12-20 22:57:42 +01:00
9ea13977d8 Job test
Some checks failed
C/C++ CI / build (push) Failing after 57s
C/C++ CI / test (push) Has been skipped
C/C++ CI / code-quality (push) Failing after 1m13s
C/C++ CI / security-scan (push) Has been cancelled
CI Pipeline / build (push) Has been cancelled
CI Pipeline / test (push) Has been cancelled
CI Pipeline / security-scan (push) Has been cancelled
CI Pipeline / code-quality (push) Has been cancelled
CI Pipeline / docker-build (push) Has been cancelled
2025-12-20 22:55:21 +01:00
b5411a5f97 Job test
Some checks failed
C/C++ CI / build (push) Failing after 59s
C/C++ CI / test (push) Has been skipped
C/C++ CI / code-quality (push) Failing after 1m14s
CI Pipeline / build (push) Has been cancelled
CI Pipeline / test (push) Has been cancelled
CI Pipeline / security-scan (push) Has been cancelled
CI Pipeline / code-quality (push) Has been cancelled
CI Pipeline / docker-build (push) Has been cancelled
C/C++ CI / security-scan (push) Has been cancelled
2025-12-20 22:52:07 +01:00
f433ae55e4 fix: Improve type safety by adding const qualifiers to function parameters in logging and enhance read loop handling in HTTP2 2025-12-20 22:11:01 +01:00
fcac920bc9 fix: Simplify initialization and improve type safety in socket handling 2025-12-17 21:10:43 +01:00
a38df76922 Refactor code for consistency and readability
- Updated function parameter formatting to use consistent pointer notation.
- Removed unnecessary whitespace and adjusted comments for clarity.
- Improved variable declarations and initializations in websocket.c for better readability.
- Ensured consistent use of types and formatting across server_config and websocket headers.
- Enhanced overall code style to align with best practices.
2025-12-17 15:26:36 +01:00
1b83097f00 Refactor logging system and enhance Dockerfile configuration
- 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.
2025-12-11 20:04:54 +01:00
01874b0e5a Enhance error handling for HTTP/2 file size, validate mmap cache entries, improve WebSocket connection handling, enforce maximum URI length, and limit WebSocket payload size. 2025-11-02 12:22:12 +01:00
72df6a73fc Enhance server ssl configuration
- Added SSL certificate and key paths to ServerConfig structure.
- Updated init_config function to initialize new SSL paths.
- Formated code for better readability.
2025-10-05 17:35:00 +00:00
a2c4617493 Implement HTTP/2 and WebSocket support; remove legacy JavaScript and CSS files
- Added HTTP/2 support in src/http2.c and src/http2.h, including session management, frame handling, and response sending.
- Introduced WebSocket functionality in src/websocket.c and src/websocket.h, covering handshake, frame parsing, and message sending.
- Created a WebSocket test page (www/websocket-test.html) for client-side interaction.
- Removed outdated JavaScript (www/script.js) and CSS (www/style.css) files.
2025-10-02 21:14:23 +00:00