kubo/core
Marcin Rataj 80b703a733 fix(daemon): write api/gateway files only after HTTP server is ready
fixes race condition where $IPFS_PATH/api and $IPFS_PATH/gateway files
were written before the HTTP servers were ready to accept connections.
this caused issues for tools like systemd path units that immediately
try to connect when these files appear.

changes:
- add corehttp.ServeWithReady() that signals when server is ready
- wait for ready signal before writing address files
- use sync.WaitGroup.Go() (Go 1.25) for cleaner goroutine management
- add TestAddressFileReady to verify both api and gateway files
2025-12-16 21:53:21 +01:00
..
commands docs: add p2p-tunnels.md with systemd examples 2025-12-16 20:49:44 +01:00
coreapi refactor: replace context.WithCancel with t.Context (#11083) 2025-11-28 16:39:55 +01:00
corehttp fix(daemon): write api/gateway files only after HTTP server is ready 2025-12-16 21:53:21 +01:00
coreiface refactor: replace context.WithCancel with t.Context (#11083) 2025-11-28 16:39:55 +01:00
corerepo chore: use go-log/v2 (#10801) 2025-05-19 13:04:05 -07:00
coreunix fix: resolve TestAddMultipleGCLive race condition (#10916) 2025-08-18 20:49:26 +02:00
mock fix: deadlock on retrieving WebTransport addresses (#9857) 2023-05-08 16:11:03 +02:00
node refactor: replace context.WithCancel with t.Context (#11083) 2025-11-28 16:39:55 +01:00
.gitignore ignore testdb 2014-07-05 15:04:04 -07:00
builder.go chore: migrate bootstrap to ipfs/boxo (#10158) 2023-10-31 18:25:14 +01:00
core_test.go feat(cli/rpc/add): fast provide of root CID (#11046) 2025-11-14 11:08:29 -08:00
core.go feat(cli/rpc/add): fast provide of root CID (#11046) 2025-11-14 11:08:29 -08:00