mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-08-30 14:52:51 +08:00
Defer cmd execution for console and via http POST
This commit is contained in:
+2
-3
@@ -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]) {
|
||||
|
||||
Reference in New Issue
Block a user