Commit b59355c5 authored by Mikhail Zabaluev's avatar Mikhail Zabaluev Committed by Pekka Pessi

nua: don't resend validation probes as keepalives once one times out

parent 803ac2f2
......@@ -831,7 +831,8 @@ static int keepalive_options(outbound_t *ob)
if (ob->ob_keepalive.orq)
return 0;
if (ob->ob_prefs.validate && ob->ob_registered && !ob->ob_validated)
if (ob->ob_prefs.validate && ob->ob_registered && !ob->ob_validated
&& !ob->ob_validate_timed_out)
return keepalive_options_with_registration_probe(ob);
req = msg_copy(ob->ob_keepalive.msg);
......
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