Mercurial
comparison seobeo/s_web.c @ 187:a69485d9f2e1 hg-web
Fixed a small bug.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Fri, 23 Jan 2026 22:41:04 -0800 |
| parents | 8cf4ec5e2191 |
| children |
comparison
equal
deleted
inserted
replaced
| 186:8cf4ec5e2191 | 187:a69485d9f2e1 |
|---|---|
| 203 // --- Try to match streaming route first --- | 203 // --- Try to match streaming route first --- |
| 204 Seobeo_Stream_Handler stream_handler = Seobeo_Router_Find_Stream_Handler(method, path, &p_req_map, p_request_arena); | 204 Seobeo_Stream_Handler stream_handler = Seobeo_Router_Find_Stream_Handler(method, path, &p_req_map, p_request_arena); |
| 205 if (stream_handler != NULL) | 205 if (stream_handler != NULL) |
| 206 { | 206 { |
| 207 stream_handler(p_cli_handle, p_req_map, p_response_arena); | 207 stream_handler(p_cli_handle, p_req_map, p_response_arena); |
| 208 goto clean_up; | 208 goto clean_up_arenas; |
| 209 } | 209 } |
| 210 | 210 |
| 211 // --- Try to match API route --- | 211 // --- Try to match API route --- |
| 212 Seobeo_Route_Handler handler = Seobeo_Router_Find_Handler(method, path, &p_req_map, p_request_arena); | 212 Seobeo_Route_Handler handler = Seobeo_Router_Find_Handler(method, path, &p_req_map, p_request_arena); |
| 213 if (handler != NULL) | 213 if (handler != NULL) |