ipfs / kubo

An IPFS implementation in Go
https://docs.ipfs.tech/how-to/command-line-quick-start/
Other
16.19k stars 3.02k forks source link

fix(cli): preserve hostname specified with --api in http request headers #10497

Closed gammazero closed 2 months ago

gammazero commented 2 months ago

Note: It is necessary to keep the call to resolveAddr to check for a resolvable address, otherwise the host is reported as offline when the address should be reported as not resolvable.

Closes #10232

Thank you @softwareplumber for this solution.