Merge branch 'vp/http-rate-limit-retries' into seen

The HTTP transport learned to react to "429 Too Many Requests".

* vp/http-rate-limit-retries:
  http: add support for HTTP 429 rate limit retries
  remote-curl: introduce show_http_message_fatal() helper
  strbuf_attach: fix call sites to pass correct alloc
  strbuf: pass correct alloc to strbuf_attach() in strbuf_reencode()
This commit is contained in:
Junio C Hamano
2026-03-09 16:20:03 -07:00
16 changed files with 622 additions and 34 deletions

View File

@@ -168,7 +168,7 @@ int strbuf_reencode(struct strbuf *sb, const char *from, const char *to)
if (!out)
return -1;
strbuf_attach(sb, out, len, len);
strbuf_attach(sb, out, len, len + 1);
return 0;
}