fix(http): don't segfault on non-routed requests
This commit is contained in:
parent
711eaa2bde
commit
72fae76ef6
3 changed files with 11 additions and 3 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue