]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
temporary hack to ignore retry-after so we can avoid segfault (SFSIP-134)
authorMichael Jerris <mike@jerris.com>
Tue, 7 Apr 2009 20:53:42 +0000 (20:53 +0000)
committerMichael Jerris <mike@jerris.com>
Tue, 7 Apr 2009 20:53:42 +0000 (20:53 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12941 d0543943-73ff-0310-b7d9-9358b9ac24b2

libs/sofia-sip/libsofia-sip-ua/nua/nua_client.c

index 724e8b03c73f3ca1a6bb630c2d725986430de5ea..2e57371abf9b295fa499f99e4c447c57bb850703 100644 (file)
@@ -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->af_delta < 32) {
     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);
     nta_outgoing_destroy(orq);
     cr->cr_status = 0, cr->cr_phrase = NULL;
+
     return 1;
   }