Module: kamailio
Branch: master
Commit: f9aa4a219bc0e5a44b167772d6e3b86d99a59932
URL: 
https://github.com/kamailio/kamailio/commit/f9aa4a219bc0e5a44b167772d6e3b86d99a59932

Author: jaybeepee <[email protected]>
Committer: jaybeepee <[email protected]>
Date: 2015-09-11T12:01:10+02:00

modules/cdp: changed load balancing timer from second resolution to millisecond 
resolution

---

Modified: modules/cdp/session.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/f9aa4a219bc0e5a44b167772d6e3b86d99a59932.diff
Patch: 
https://github.com/kamailio/kamailio/commit/f9aa4a219bc0e5a44b167772d6e3b86d99a59932.patch

---

diff --git a/modules/cdp/session.h b/modules/cdp/session.h
index 11adc86..8758081 100644
--- a/modules/cdp/session.h
+++ b/modules/cdp/session.h
@@ -124,6 +124,10 @@ typedef struct _cdp_auth_session_t {
        time_t timeout;                 /**< absolute time for session timeout  
-1 means forever */
        time_t lifetime;                /**< absolute time for auth lifetime -1 
means forever */
        time_t grace_period;            /**< grace_period in seconds    */
+        unsigned int last_requested_lifetime;   /**< the following 3 timers 
are used to store what we are */
+        unsigned int last_requested_timeout;    /**<requesitng in a request, 
if the answer does not have anything */
+        unsigned int last_requested_grace;      /**<different then we will use 
these values */ 
+
        void* generic_data;
 } cdp_auth_session_t;
 


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to