You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Description
cpr::LowSpeed
has a 32 bit time value (std::int32_t time;
). This is not year 2038 safe. Instead we should replace it withstd::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 usestd::chrono
.Where did you get it from?
GitHub (branch e.g. master)
Additional Context/Your Environment
The text was updated successfully, but these errors were encountered: