Welcome Ondřej Hlavatý as #curl commit author 1351: github.com/curl/curl/pull/1657…
request: clear sendbuf_hds_len when resetting request bufq by Aearsis · Pull Request #16573 · curl/curl
Without this, any usage of sendbuf_hds_len on a retried request is wrong. We noticed by getting debug callbacks with incorrect header len. We did not figure out how to trigger the retries in a test...GitHub