Defer cmd execution for console and via http POST

This commit is contained in:
logicog
2025-10-21 18:05:33 +02:00
parent 03fb3fe6b4
commit ba902a68d4
4 changed files with 21 additions and 7 deletions
+2 -3
View File
@@ -288,9 +288,8 @@ void handle_post(void)
while (*p && *p != '\n' && *p != '\r')
cmd_buffer[i++] = *p++;
cmd_buffer[i] = '\0';
if (i && !cmd_tokenize())
cmd_parser();
if (i)
cmd_available = 1;
} else if (is_word(request_path, "upload")) {
print_string("POST upload request\n");
if (!boundary[0]) {