Refactor FastCGI server and compiler, enhance HTTP header parsing, and add WebSocket support

- Refactored FastCGIServer class to improve socket handling and added shutdown functionality.
- Updated compiler functions to streamline HTML and text literal processing.
- Enhanced split_kv function to support uppercase keys and added split_http_headers for better HTTP header parsing.
- Introduced new session management functions to validate and handle session IDs.
- Added WebSocket frame parsing and handling in the URI module.
- Created systemd service scripts for easier deployment and management of the UCE FastCGI runtime.
- Added new test cases for header handling, time parsing, and WebSocket functionality.
This commit is contained in:
udo
2026-04-18 14:04:58 +00:00
parent 984453f336
commit cd8f07aaa7
26 changed files with 913 additions and 367 deletions
+2 -2
View File
@@ -4,8 +4,8 @@ TMP_UPLOAD_PATH=/tmp/uce/uploads
SESSION_PATH=/tmp/uce/sessions
# LISTEN ON SOCKETS
SOCKET_PATH=/run/uce.sock
LISTEN_PORT=9993
FCGI_SOCKET_PATH=/run/uce.sock
FCGI_PORT=9993
# PRECOMPILE .uce FILES
PRECOMPILE_FILES_IN=