Home
last modified time | relevance | path

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

/unit/src/
H A Dnxt_http_static.c171 if (acf->fallback != NULL) { in nxt_http_static_init()
172 action->fallback = nxt_mp_alloc(mp, sizeof(nxt_http_action_t)); in nxt_http_static_init()
173 if (nxt_slow_path(action->fallback == NULL)) { in nxt_http_static_init()
177 return nxt_http_action_init(task, tmcf, acf->fallback, in nxt_http_static_init()
178 action->fallback); in nxt_http_static_init()
195 if (action->fallback != NULL) { in nxt_http_static()
196 return action->fallback; in nxt_http_static()
685 if (action->fallback != NULL) { in nxt_http_static_next()
686 nxt_http_request_action(task, r, action->fallback); in nxt_http_static_next()
H A Dnxt_http.h233 nxt_conf_value_t *fallback; member
250 nxt_http_action_t *fallback; member
H A Dnxt_http_route.c634 offsetof(nxt_http_action_conf_t, fallback)
1266 if (action->fallback != NULL) { in nxt_http_action_resolve()
1267 return nxt_http_action_resolve(task, tmcf, action->fallback); in nxt_http_action_resolve()
/unit/
H A DCHANGES405 *) Feature: a "fallback" option that performs an alternative action if a