[sr-dev] [tracker] Comment added: Internal timer lags real time by the startup time

sip-router bugtracker at sip-router.org
Mon Jul 16 15:20:30 CEST 2012


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#243 - Internal timer lags real time by the startup time
User who did this - Alex Hermann (axlh)

----------
ser_time() does not lag in the timer process itself, so all the code detecting timer lag is not noticing anything wrong . It does lag in the processes handling SIP messages.

I have no idea where this difference in time perception between processes comes from. As such i have no solution to fix ser_time() and intend to push a trivial fix replacing ser_time() with time() in modules/auth. This fix will at least prevent the creation of already expired nonces in challenges and rejecting nonces "from the future" in authentication attempts.

Anyway, in the entire sip-router source, time() is used 289 times, ser_time() only 12, so i guess it's not a big deal and maybe ser_time should be removed altogether. If ser_time() ever gets fixed, it is trivial to replace every occurance of time() with ser_time().
----------

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=243#comment711

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list