Lines Matching defs:fail
29 int fail;
52 int index, int *ok, int *fail, int *default_ok) {
63 if (fail != NULL) *fail = e->fail;
71 static void set_validation_table_entry(unsigned long instance_id, int index, int ok, int fail) {
80 e->fail = fail;
92 e->fail = fail;
181 /* default.url.set contains fail-over order;
204 int ok = 0, fail = 0, httpcode = 0;
206 get_validation_table_entry(w->instance_id, i, &ok, &fail, NULL);
229 fail = 0;
231 if (fail++ > conf->valid_ping_miss) {
232 fail = conf->valid_ping_miss;
237 set_validation_table_entry(w->instance_id, i, ok, fail);
253 /* do the fail-over logic */
258 AM_LOG_INFO(w->instance_id, "%s fail-back to %s", thisfunc, url_list[0]);
273 /* find next valid index value to fail-over to */
298 AM_LOG_INFO(w->instance_id, "%s fail-back to %s", thisfunc, url_list[0]);
303 AM_LOG_INFO(w->instance_id, "%s fail-over to %s", thisfunc, url_list[i]);