Context: Forge M07 webhooks must validate every resolved A/AAAA answer and connect to the validated address (no DNS rebinding TOCTOU), with no redirects.
HttpClient has no resolve-then-connect hook or resolver callback, so a caller cannot pin the validated address.
HttpClient::send has no stop token/cancellation, so a delivery cannot be cancelled on shutdown or revocation.
Need: an optional resolver/connect-address callback (or a pre-resolved address parameter) and a stop token on send. Forge otherwise has to pre-resolve and accept a small rebinding window.
Tests/gate: resolver callback receives the host and returns the pinned address; cancellation aborts an in-flight request promptly.
Context: Forge M07 webhooks must validate every resolved A/AAAA answer and connect to the validated address (no DNS rebinding TOCTOU), with no redirects.
Gaps at a29c947:
1. `HttpClient` has no resolve-then-connect hook or resolver callback, so a caller cannot pin the validated address.
2. `HttpClient::send` has no stop token/cancellation, so a delivery cannot be cancelled on shutdown or revocation.
Need: an optional resolver/connect-address callback (or a pre-resolved address parameter) and a stop token on send. Forge otherwise has to pre-resolve and accept a small rebinding window.
Tests/gate: resolver callback receives the host and returns the pinned address; cancellation aborts an in-flight request promptly.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Context: Forge M07 webhooks must validate every resolved A/AAAA answer and connect to the validated address (no DNS rebinding TOCTOU), with no redirects.
Gaps at
a29c947:HttpClienthas no resolve-then-connect hook or resolver callback, so a caller cannot pin the validated address.HttpClient::sendhas no stop token/cancellation, so a delivery cannot be cancelled on shutdown or revocation.Need: an optional resolver/connect-address callback (or a pre-resolved address parameter) and a stop token on send. Forge otherwise has to pre-resolve and accept a small rebinding window.
Tests/gate: resolver callback receives the host and returns the pinned address; cancellation aborts an in-flight request promptly.