Wed Nov 26 12:58:40 CST 2008 Pekka Pessi <first.last@nokia.com>

* nua_session.c: changing session expiration time to follow spirit (not only letter) of RFC 4028
  
  Change suggested by Timo Bruhn.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10827 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-12-16 20:47:18 +00:00
parent d5c9694677
commit 3d981b497b
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
Tue Dec 16 14:33:26 CST 2008
Tue Dec 16 14:46:55 CST 2008

View File

@ -4412,7 +4412,7 @@ session_timer_set(nua_session_usage_t *ss)
interval is RECOMMENDED. */
unsigned interval = t->interval;
interval -= 32 > interval / 6 ? interval / 3 : 32 + interval / 3;
interval -= 32 > interval / 3 ? interval / 3 : 32;
nua_dialog_usage_set_refresh_range(du, interval, interval);
t->timer_set = 1;