Change #262211
| Category | curl |
| Changed by | Stefan Eissing <stefan@eissing.org> |
| Changed at | Tue 24 Mar 2026 16:25:53 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | 797bc316bf24f2c0e8abf2d4f7de225c8cd24d64 |
Comments
ratelimit: reset on start On any `Curl_rlimit_start()` the rate limit needs to reset its values before calculating the effective step duration and adjust the tokens/burst per step. Add two fields to the struct to remember the original values. Closes #21086
Changed files
- lib/ratelimit.c
- lib/ratelimit.h