Pull request 2585: AGDNS-3568-fix-tls-reload

Updates #8244.

Squashed commit of the following:

commit ff0ba23c1b857f453588f2b57d308388340d84b9
Merge: c6a0387c4 81dcf43f2
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date:   Fri Feb 13 16:36:35 2026 +0300

    Merge branch 'master' into AGDNS-3568-fix-tls-reload

commit c6a0387c429c544c08d897b7ff0750a733e217f3
Author: Eugene Burkov <E.Burkov@AdGuard.COM>
Date:   Fri Feb 13 15:58:58 2026 +0300

    home: fix tls reload
This commit is contained in:
Eugene Burkov 2026-02-13 14:41:24 +00:00
parent 81dcf43f2b
commit a165cdb684

View file

@ -280,7 +280,7 @@ func (m *tlsManager) reload(ctx context.Context) {
// The background context is used because the TLSConfigChanged wraps context
// with timeout on its own and shuts down the server, which handles current
// request.
m.web.tlsConfigChanged(context.Background(), tlsConfPtr)
m.web.tlsConfigChanged(context.Background(), m.conf)
}
// reconfigureDNSServer updates the DNS server configuration using the stored