Opened 15 years ago

Closed 15 years ago

#975 closed defect (fixed)

Symbian timer heap implementation unable to schedule duration more than 2147 seconds (thanks Nir Elkayam for the report)

Reported by: bennylp Owned by: bennylp
Priority: critical Milestone: release-1.5
Component: pjlib Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

The Symbian timer heap implementation uses 32bit integer value to calculate the interval. Since RTimer.After() function takes microsecond interval as 32bit integer too, this causes the timer heap to unable to schedule more than ~2100 seconds duration.

If caller tries to schedule more than ~2100 seconds duration, the timer would be triggered immediately, causing e.g.:

  • PUBLISH refresh to be sent continuously, if server replies with "Expires: 3600"

Change History (3)

comment:1 Changed 15 years ago by bennylp

  • Summary changed from Symbian timer heap implementation unable to schedule duration more than 2100 seconds (thanks Nir Elkayam) for the report to Symbian timer heap implementation unable to schedule duration more than 2100 seconds (thanks Nir Elkayam for the report)

comment:2 Changed 15 years ago by bennylp

  • Summary changed from Symbian timer heap implementation unable to schedule duration more than 2100 seconds (thanks Nir Elkayam for the report) to Symbian timer heap implementation unable to schedule duration more than 2147 seconds (thanks Nir Elkayam for the report)

comment:3 Changed 15 years ago by bennylp

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r2984

Note: See TracTickets for help on using tickets.