refactor(response): do not close connection if not requested

This commit is contained in:
2026-03-28 19:04:25 +01:00
parent cff0d58de4
commit d400722563
6 changed files with 67 additions and 25 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
#include <sys/stat.h>
/* Sanitize and resolve file path */
/* TODO: fix path traversal */
/* @TODO: fix path traversal */
static string_s *resolve_file_path(const char *url_path, cws_handler_config_s *config) {
string_s *full_path = string_new(config->root, 256);