Skip to content

Commit e6f1268

Browse files
authored
Merge pull request #7209 from cloudflare/maizatskyi/2026-09-01-arrayptr5
Keep TLS option storage alive with its context
2 parents fa369ed + a3f8226 commit e6f1268

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/workerd/server/server.c++‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1804,7 +1804,7 @@ validVersion:
18041804
options.cipherList = conf.getCipherList();
18051805
}
18061806

1807-
return kj::heap<kj::TlsContext>(kj::mv(options));
1807+
return kj::heap<kj::TlsContext>(kj::mv(options)).attach(kj::mv(attachments));
18081808
}
18091809

18101810
kj::Promise<kj::Own<kj::NetworkAddress>> Server::makeTlsNetworkAddress(

0 commit comments

Comments
 (0)