Commit 884184c8 authored by Simon Morlat's avatar Simon Morlat

refresher should always retry except in specific situations (and not the reverse thing)

parent 3db6b5cc
......@@ -272,13 +272,13 @@ static void process_response_event(belle_sip_listener_t *user_ctx, const belle_s
}else belle_sip_warning("Receiving 423 but no min-expires header.");
break;
}
case 408:
case 480:
case 503:
case 504:
if (refresher->target_expires>0) retry_later(refresher);
case 505:
case 501:
/*irrecoverable errors, probably no need to retry later*/
break;
default:
/*for all other errors, retry later*/
if (refresher->target_expires>0) retry_later(refresher);
break;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment