mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-25 05:07:44 +08:00

client: define a "dummy" hostname to use for local connections fixes "http: invalid Host header" errors when compiling with go1.20.6 or go1.19.11 full diff: https://github.com/docker/docker/compare/v24.0.2...36e9e796c6fc Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com> (cherry picked from commit 8a3a646c6130937eba92caca09a6beb4d2a1bcda) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>