From d0c7c5b0dd9d20bfc323dc10c67f9de12d58c343 Mon Sep 17 00:00:00 2001 From: ame Date: Mon, 26 Aug 2024 22:33:07 -0500 Subject: initial param matching --- src/net.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/net.c') diff --git a/src/net.c b/src/net.c index 7db887b..2966905 100644 --- a/src/net.c +++ b/src/net.c @@ -70,7 +70,8 @@ void* handle_client(void *_arg){ str_push(aa, sk->c); - void* v = parray_find(paths, aa->c); + //parray_t* v = parray_find(paths, aa->c); + parray_t* v = route_match(paths, aa->c); if(sT != NULL) rolling_file_parse(L, &files_idx, &body_idx, buffer + header_eof + 4, sT, bytes_received - header_eof - 4, file_cont); -- cgit v1.2.3