Add certificate store

This commit is contained in:
世界 2025-01-08 10:34:45 +08:00
parent 8b7c8dcdb4
commit 221c003ce0
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
30 changed files with 4786 additions and 32 deletions

View file

@ -90,7 +90,7 @@ func (r *Router) Start(stage adapter.StartStage) error {
var cacheContext *adapter.HTTPStartContext
if len(r.ruleSets) > 0 {
monitor.Start("initialize rule-set")
cacheContext = adapter.NewHTTPStartContext()
cacheContext = adapter.NewHTTPStartContext(r.ctx)
var ruleSetStartGroup task.Group
for i, ruleSet := range r.ruleSets {
ruleSetInPlace := ruleSet