1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-12-15 14:11:14 +08:00

feat(AutoTLS): enabled by default with 1h RegistrationDelay (#10724)

Enables AutoTLS by default, but delays registration by 1h
if user did not explicitly set `AutoTLS.Enabled` to `true`
This commit is contained in:
Marcin Rataj
2025-02-25 22:25:58 +01:00
committed by GitHub
parent 65a9b59729
commit d6a5bc0b68
15 changed files with 118 additions and 66 deletions

View File

@@ -69,6 +69,7 @@ func (NodeProvider) MakeAPISwarm(t *testing.T, ctx context.Context, fullIdentity
c.Addresses.Swarm = []string{fmt.Sprintf("/ip4/18.0.%d.1/tcp/4001", i)}
c.Identity = ident
c.Experimental.FilestoreEnabled = true
c.AutoTLS.Enabled = config.False // disable so no /ws listener is added
ds := syncds.MutexWrap(datastore.NewMapDatastore())
r := &repo.Mock{