Outsource from request_handler

This commit is contained in:
2022-12-30 16:48:48 +01:00
parent 204317f46a
commit 28d7cf68df
7 changed files with 103 additions and 45 deletions

View File

@ -22,6 +22,7 @@ void local_handler_func(client_ctx_t *ctx) {
switch (local_handler(ctx)) {
case 0:
respond(ctx);
request_complete(ctx);
handle_request(ctx);
break;
case 1: