-
Type:
Improvement
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: proton-0.10
-
Fix Version/s: proton-c-0.27.0
-
Component/s: proton-c
-
Labels:None
The timestamp argument to pn_transport_tick is a pn_timestamp_t. pn_timestamp_t implies real time (wall clock) in that it's expressed as a time value based on epoch.
As seen in QPID-6698, using a real time value for that argument can lead to problems if the real time is adjusted (eg. timezone, daylight savings, drift).
Instead, pn_transport_tick should be passed a monotonic clock source - one that does not reflect changes in real time.
All documentation and examples should be updated accordingly.
- is depended upon by
-
PROTON-2030 Use CLOCK_MONOTONIC in proactors for pn_transport_tick
-
- Open
-
- is related to
-
DISPATCH-1270 Inapropriate use of CLOCK_REALTIME for periodic timer
-
- Closed
-