diff options
| author | ame <[email protected]> | 2024-08-26 22:33:07 -0500 |
|---|---|---|
| committer | ame <[email protected]> | 2024-08-26 22:33:07 -0500 |
| commit | 6cbc0f817066b8bbab84a9be466223652b628d42 (patch) | |
| tree | 893fe45044ce5869246328f82eca2e7b78f02dd6 /src/net.c | |
| parent | 7a15e796e8789b51a459af7fe890e02a416e1fc7 (diff) | |
initial param matching
Diffstat (limited to 'src/net.c')
| -rw-r--r-- | src/net.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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);
|
