Home
last modified time | relevance | path

Searched refs:fallback (Results 1 – 4 of 4) sorted by relevance

/unit/src/
H A Dnxt_http_static.c174 if (acf->fallback != NULL) { in nxt_http_static_init()
175 action->fallback = nxt_mp_alloc(mp, sizeof(nxt_http_action_t)); in nxt_http_static_init()
176 if (nxt_slow_path(action->fallback == NULL)) { in nxt_http_static_init()
180 return nxt_http_action_init(task, tmcf, acf->fallback, in nxt_http_static_init()
181 action->fallback); in nxt_http_static_init()
198 if (action->fallback != NULL) { in nxt_http_static()
199 return action->fallback; in nxt_http_static()
692 if (action->fallback != NULL) { in nxt_http_static_next()
693 nxt_http_request_action(task, r, action->fallback); in nxt_http_static_next()
H A Dnxt_http.h236 nxt_conf_value_t *fallback; member
253 nxt_http_action_t *fallback; member
H A Dnxt_http_route.c634 offsetof(nxt_http_action_conf_t, fallback)
1268 if (action->fallback != NULL) { in nxt_http_action_resolve()
1269 return nxt_http_action_resolve(task, tmcf, action->fallback); in nxt_http_action_resolve()
/unit/
H A DCHANGES444 *) Feature: a "fallback" option that performs an alternative action if a