-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to upload file with curl when --limit-rate is provided #12559
Comments
when i remove
Not provided --limit-rate 1M with curl
Provided --limit-rate 1M with curl
|
am i missing anything here? |
a small update
|
Interesting. Would you mind trying to reproduce with release tag curl-8_5_0? |
tried with released curl-8_5_0 and issue is not seen
|
@Karthikdasari0423 any chance you can bisect to figure out the commit that broke it? |
sure @bagder , i will give it a try |
@bagder this is the commit that broke this thing
commit before breakage is below
|
Thanks a lot! |
np, it's my pleasure :) |
@icing do we run any h2 test case similar to this? |
@bagder we have download tests with ratelimit, but no upload tests. Adding one locally exposes weirdness... |
- refs curl#12559 - add test cases for rate limiting uploads for all http versions - fix transfer loop handling of limits. Signal a re-receive attempt only on exhausting maxloops without an EAGAIN - fix `data->state.selectbits` forcing re-receive to also set re-sending when transfer is doing this.
@Karthikdasari0423 can you check if applying #12586 fixes this problem for you? |
seems to me working fine @bagder
|
I did this
I expected the following
curl/libcurl version
operating system
The text was updated successfully, but these errors were encountered: