kubo/cmd/ipfs
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
..
dist docs: updated links and refs to external resources (#10368) 2024-03-16 00:59:22 +01:00
kubo fix(daemon): write api/gateway files only after HTTP server is ready 2025-12-16 21:53:21 +01:00
util refactor(ci): optimize build workflows (#10973) 2025-09-19 14:44:38 +02:00
.gitignore make: rework makefiles for non-recursive make and add sharness coverage 2017-02-12 01:18:40 +01:00
main.go feat: cmd/ipfs: Make it possible to depend on cmd/ipfs 2023-12-19 16:23:53 -05:00
Rules.mk refactor(ci): optimize build workflows (#10973) 2025-09-19 14:44:38 +02:00
runmain_test.go refactor(ci): optimize build workflows (#10973) 2025-09-19 14:44:38 +02:00