[Freeswitch-branches] [commit] r4769 - in freeswitch/branches/mikej/sofiasip-upgrade/libs/sofia-sip: . libsofia-sip-ua/nta
Freeswitch SVN
mikej at freeswitch.org
Mon Mar 26 17:16:34 EDT 2007
Author: mikej
Date: Mon Mar 26 17:16:33 2007
New Revision: 4769
Modified:
freeswitch/branches/mikej/sofiasip-upgrade/libs/sofia-sip/RELEASE
freeswitch/branches/mikej/sofiasip-upgrade/libs/sofia-sip/libsofia-sip-ua/nta/nta.c
Log:
update to sofia darcs tree
Modified: freeswitch/branches/mikej/sofiasip-upgrade/libs/sofia-sip/RELEASE
==============================================================================
--- freeswitch/branches/mikej/sofiasip-upgrade/libs/sofia-sip/RELEASE (original)
+++ freeswitch/branches/mikej/sofiasip-upgrade/libs/sofia-sip/RELEASE Mon Mar 26 17:16:33 2007
@@ -25,6 +25,8 @@
libsofia-sip-ua:
- **template**: Added foobar() function (sofia-sip/foobar.h).
+- Added tag NUTAG_AUTH_CACHE() determining when to include credentials in
+ the request
- Added kqueue and /dev/poll interfaces (su_devpoll_port_create(),
su_devpoll_clone_start(), su_kqueue_port_create(), su_kqueue_clone_start()
in <sofia-sip/su_wait.h>)
@@ -58,7 +60,7 @@
- **template**: First Surname (patch to nua/soa/msg)
- Martti Mela (kqueue interface to Max OS X and FreeBSD)
-- Pekka Pessi (/dev/poll interface to Solaris)
+- Pekka Pessi (/dev/poll interface to Solaris, kqueue)
- Michael Jerris (Solaris patches)
- Colin Whittaker (sresolv patch)
@@ -88,8 +90,16 @@
/>
- **template**: #9499652 sf.net bug item title
+- Fixed assertion failure because BYE destroyed a session twice.
+ Problem reported by Michael Jerris.
+- Fixed crash caused by a 0-length UDP datagram.
+ Problem reported by Michael Jerris.
+- Fixed the 305 response handling by nua stack.
+ Bug #1676445 reported by Fabio Margarido.
+- Fixed authentication-related bugs #1685245 and #1570746.
+ #1685245 reported by Mikhail Zabaluev.
- Fixed problems resuming DNS after server or link downtime.
- Problem reported by Colin Whittaker.
+ Bug #1631198 reported and initial patch submitted by Colin Whittaker.
- Fixed NUTAG_APPL_METHOD() implementation for UPDATE and PRACK as documented
- Fixed crashes in nua state engines:
- when nua_invite() was called second time before receiving
Modified: freeswitch/branches/mikej/sofiasip-upgrade/libs/sofia-sip/libsofia-sip-ua/nta/nta.c
==============================================================================
--- freeswitch/branches/mikej/sofiasip-upgrade/libs/sofia-sip/libsofia-sip-ua/nta/nta.c (original)
+++ freeswitch/branches/mikej/sofiasip-upgrade/libs/sofia-sip/libsofia-sip-ua/nta/nta.c Mon Mar 26 17:16:33 2007
@@ -8006,10 +8006,11 @@
{
nta_agent_t *sa = orq->orq_agent;
short orq_status = orq->orq_status;
+ int internal = sip == NULL || (sip->sip_flags & NTA_INTERNAL_MSG) == 0;
if (status < 100) status = 100;
- if (sip && orq->orq_delay == UINT_MAX)
+ if (!internal && orq->orq_delay == UINT_MAX)
outgoing_estimate_delay(orq, sip);
if (orq->orq_cc)
@@ -8067,7 +8068,7 @@
}
else {
/* Final response */
- if (status >= 300)
+ if (status >= 300 && !internal)
outgoing_ack(orq, msg, sip);
if (!orq->orq_completed) {
More information about the Freeswitch-branches
mailing list