Wed Apr 29 13:03:20 CDT 2009 Pekka Pessi <first.last@nokia.com>

* tport: close half-closed idle connections on windows, too



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13317 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-05-15 15:42:25 +00:00
parent 9eb7523bd1
commit 3f4f728974
2 changed files with 4 additions and 3 deletions

View File

@ -1 +1 @@
Thu Apr 16 12:20:45 CDT 2009
Fri May 15 10:42:15 CDT 2009

View File

@ -2815,8 +2815,9 @@ void tport_hup_event(tport_t *self)
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);
}