mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
Defer cmd execution for console and via http POST
This commit is contained in:
1 parent
03fb3fe6b4
commit
ba902a68d4
4 files changed
+21
-7
No files matched your search
+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