-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
Milestone
Description
Description
cpr::LowSpeed has a 32 bit time value (std::int32_t time;). This is not year 2038 safe. Instead we should replace it with std::chrono for handling time.
Even though it's just the seconds and probably will never happen we should use std::chrono.
Example/How to Reproduce
Not applicable.
Possible Fix
Refactor cpr::LowSpeed to use std::chrono.
Where did you get it from?
GitHub (branch e.g. master)
Additional Context/Your Environment
- OS: Linux (Fedora 41)
- Version: 1.11.0
Reactions are currently unavailable