[Freeswitch-svn] [commit] r13317 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/tport

FreeSWITCH SVN mikej at freeswitch.org
Fri May 15 08:42:25 PDT 2009


Author: mikej
Date: Fri May 15 10:42:25 2009
New Revision: 13317

Log:
Wed Apr 29 13:03:20 CDT 2009  Pekka Pessi <first.last at nokia.com>
  * tport: close half-closed idle connections on windows, too



Modified:
   freeswitch/trunk/libs/sofia-sip/.update
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport.c

Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update	(original)
+++ freeswitch/trunk/libs/sofia-sip/.update	Fri May 15 10:42:25 2009
@@ -1 +1 @@
-Thu Apr 16 12:20:45 CDT 2009
+Fri May 15 10:42:15 CDT 2009

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/tport/tport.c	Fri May 15 10:42:25 2009
@@ -2815,8 +2815,9 @@
   if (!tport_is_secondary(self))
     return;
 
-  /* End of stream */
-  tport_shutdown0(self, 0);
+  /* Shutdown completely if there are no queued messages */
+  /* Problem reported by Arsen Chaloyan */
+  tport_shutdown0(self, tport_has_queued(self) ? 0 : 2);
   tport_set_secondary_timer(self);
 }
 



More information about the Freeswitch-svn mailing list