-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Labels
No Issue Activity 👻No activity for more than 30 days. About to be closed.No activity for more than 30 days. About to be closed.
Description
Description
When upgrading from cpr 1.10.2 to 1.11.0, our cpr::PostAsync calls started showing a large amount of latency between being sent and being received, ~1 minute in most cases, but sometimes would be indefinitely delayed.
Example/How to Reproduce
- Create a call:
cpr::AsyncResponse response = cpr::PostAsync(cpr::Url{url}, cpr::Body{body}, headers); - Wait for the request to come in:
response .wait_for(0ms) == std::future_status::timeout - Observe the time for the message to be 'sent' to being 'received' by another service.
Possible Fix
We downgraded back to 1.10.2, but installed Curl separately to upgrade that to 8.10.0.
Where did you get it from?
GitHub (branch e.g. master)
Additional Context/Your Environment
- OS: Linux
- Version: 1.10.2
- Curl was not the issue, as using 8.10.0 worked fine in 1.10.2 and didn't produce latency.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No Issue Activity 👻No activity for more than 30 days. About to be closed.No activity for more than 30 days. About to be closed.