mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-26 20:48:21 +00:00
temporary hack to ignore retry-after so we can avoid segfault (SFSIP-134)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12941 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
272c0240fe
commit
54be7df9ff
@ -1195,7 +1195,7 @@ int nua_base_client_check_restart(nua_client_request_t *cr,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (500 <= status && status < 600 &&
|
if (0 && 500 <= status && status < 600 &&
|
||||||
sip->sip_retry_after &&
|
sip->sip_retry_after &&
|
||||||
sip->sip_retry_after->af_delta < 32) {
|
sip->sip_retry_after->af_delta < 32) {
|
||||||
su_timer_t *timer;
|
su_timer_t *timer;
|
||||||
@ -1219,6 +1219,7 @@ int nua_base_client_check_restart(nua_client_request_t *cr,
|
|||||||
nua_client_report(cr, 100, phrase, NULL, orq, NULL);
|
nua_client_report(cr, 100, phrase, NULL, orq, NULL);
|
||||||
nta_outgoing_destroy(orq);
|
nta_outgoing_destroy(orq);
|
||||||
cr->cr_status = 0, cr->cr_phrase = NULL;
|
cr->cr_status = 0, cr->cr_phrase = NULL;
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user