Add more columns to match_entry

This commit is contained in:
c9s 2014-05-17 18:56:13 +08:00
parent 793de786b7
commit c19186ab77

View file

@ -58,9 +58,15 @@ struct _edge {
typedef struct { typedef struct {
str_array * vars; str_array * vars;
char * path; // dispatched path char * path; // current path to dispatch
int path_len; int path_len; // the length of the current path
void * route_ptr; // route ptr void * route_ptr; // route ptr
int request_method; // current request method
char * host; // the request host
int host_len;
char * remote_addr;
int remote_addr_len;
} match_entry; } match_entry;