fix(http): don't segfault on non-routed requests

This commit is contained in:
Jef Roosens 2023-11-03 14:41:55 +01:00
parent 711eaa2bde
commit 72fae76ef6
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
3 changed files with 11 additions and 3 deletions

View file

@ -34,6 +34,8 @@ typedef enum http_route_type {
*/
typedef bool (*step)(event_loop_conn *conn);
extern const step http_default_res_steps[HTTP_LOOP_MAX_STEPS];
/**
* Struct describing a route a request can take.
*/