Change #274712
| Category | curl |
| Changed by | Stefan Eissing <stefan@eissing.org> |
| Changed at | Mon 13 Jul 2026 11:53:00 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | 34bc5b60bcc13b413116c7eb3635c202ad02f206 |
Comments
lib: ratelimit timestamps Remove the timestamp passed for ratelimit checks. Let the limit calculation obtain a timestamp when it needs it. Most transfers run without active ratelimits and getting a fresh timestamp is unnecessary. Closes #22292
Changed files
- lib/http2.c
- lib/multi.c
- lib/progress.c
- lib/ratelimit.c
- lib/ratelimit.h
- lib/sendf.c
- lib/transfer.c
- lib/vquic/cf-ngtcp2-proxy.c
- lib/vquic/cf-ngtcp2.c
- tests/http/scorecard.py