caddy/modules/caddytls
Jens-Uwe Mager 8626fa3703
caddytls: synchronize storage cleaner with TLS.Stop via context and WaitGroup (#7954)
* caddytls: synchronize storage cleaner with TLS.Stop via context and WaitGroup

* Unify the storage cleanup synchronization to both tls and ech.

* Cannot embed the sync.WaitGroup directly as the TLS struct is copied.

* caddytls: propagate cancellable context to ECH rotation and add sync tests

Pass cancellable context to ECH key rotation so in-flight storage locks
and operations unblock when TLS.Stop is invoked. Add comprehensive tests
verifying TLS.Stop cleanly unblocks and waits for storage cleaner and
ECH workers.

---------

Co-authored-by: Zen Dodd <mail@steadytao.com>
2026-09-05 07:37:57 -06:00
..
distributedstek
standardstek
acmeissuer.go caddytls: Expand ACME credentials (#7554) 2026-05-03 07:13:57 +10:00
acmeissuer_test.go caddytls: Expand ACME credentials (#7554) 2026-05-03 07:13:57 +10:00
automation.go chore: clean up wording and typo fixes (#7745) 2026-05-20 16:36:30 +10:00
automation_test.go caddytls: Avoid default issuers for implicit tailscale policies (#7577) 2026-03-20 09:36:03 -06:00
capools.go tls: add `system` and `combined` CA pool modules (#7406) 2026-04-06 01:13:34 +03:00
capools_test.go tls: add `system` and `combined` CA pool modules (#7406) 2026-04-06 01:13:34 +03:00
certmanagers.go chore: Add nolints to work around haywire linters (#7493) 2026-02-17 16:52:54 -07:00
certselection.go
connpolicy.go caddytls: match IDN SNI in connection policies (#7742) 2026-05-20 13:52:28 -04:00
connpolicy_test.go caddytls: match IDN SNI in connection policies (#7742) 2026-05-20 13:52:28 -04:00
connpolicy_verifyconnection_test.go caddytls: Fix client auth (fix #7724) (#7727) 2026-05-14 10:05:57 -06:00
ech.go caddytls: synchronize storage cleaner with TLS.Stop via context and WaitGroup (#7954) 2026-09-05 07:37:57 -06:00
ech_dns_test.go tls: add alpn to managed HTTPS records (#7653) 2026-05-10 13:10:29 +10:00
fileloader.go chore: fix lint errors from newer golangci-lint (#7958) 2026-08-25 13:12:10 +10:00
folderloader.go chore: fix lint errors from newer golangci-lint (#7958) 2026-08-25 13:12:10 +10:00
internalissuer.go
internalissuer_test.go
leaffileloader.go
leaffileloader_test.go
leaffolderloader.go
leaffolderloader_test.go
leafpemloader.go
leafpemloader_test.go
leafstorageloader.go
matchers.go caddytls: skip idna.ToASCII for pure ASCII SNI values (#7770) 2026-05-28 11:18:09 +10:00
matchers_test.go caddytls: match IDN SNI in connection policies (#7742) 2026-05-20 13:52:28 -04:00
ondemand.go
pemloader.go chore: fix lint errors from newer golangci-lint (#7958) 2026-08-25 13:12:10 +10:00
sessiontickets.go caddytls: fix TLS state races and ECH rotation retry (#7756) 2026-05-20 16:35:40 +10:00
storage_clean_test.go caddytls: synchronize storage cleaner with TLS.Stop via context and WaitGroup (#7954) 2026-09-05 07:37:57 -06:00
storageloader.go
tls.go caddytls: synchronize storage cleaner with TLS.Stop via context and WaitGroup (#7954) 2026-09-05 07:37:57 -06:00
tls_wildcard_test.go caddytls: avoid duplicate automation for wildcard-covered hosts (#7697) 2026-05-11 00:08:40 +10:00
values.go
zerosslissuer.go chore: Add nolints to work around haywire linters (#7493) 2026-02-17 16:52:54 -07:00