Skip to content

Changed LowSpeed to use std::chrono#1215

Merged
COM8 merged 1 commit intolibcpr:masterfrom
pntzio:fix-y2038-lowspeed
Apr 28, 2025
Merged

Changed LowSpeed to use std::chrono#1215
COM8 merged 1 commit intolibcpr:masterfrom
pntzio:fix-y2038-lowspeed

Conversation

@pntzio
Copy link
Contributor

@pntzio pntzio commented Apr 28, 2025

Use std::chrono::seconds instead of std::int32_t for time parameter in cpr::LowSpeed

@pntzio
Copy link
Contributor Author

pntzio commented Apr 28, 2025

Fixes #1174

Copy link
Member

@COM8 COM8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@COM8 COM8 merged commit 5d8c9ed into libcpr:master Apr 28, 2025
43 of 44 checks passed
@COM8 COM8 added this to the CPR 1.12.0 milestone Apr 28, 2025
@COM8 COM8 linked an issue Apr 28, 2025 that may be closed by this pull request
@pntzio
Copy link
Contributor Author

pntzio commented Apr 28, 2025

Was this OK to merge even though some test failed?

@COM8
Copy link
Member

COM8 commented May 4, 2025

Yes, macOS and Windows tests are sometimes flaky since the whole CI is not always stable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cpr::LowSpeed Is Not Y2038 Safe

2 participants