MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / SetSignatureCacheEnabled

Function SetSignatureCacheEnabled

internal/cache/signature_cache.go:309–317  ·  view source on GitHub ↗

SetSignatureCacheEnabled switches Antigravity signature handling between cache mode and bypass mode.

(enabled bool)

Source from the content-addressed store, hash-verified

307
308// SetSignatureCacheEnabled switches Antigravity signature handling between cache mode and bypass mode.
309func SetSignatureCacheEnabled(enabled bool) {
310 previous := signatureCacheEnabled.Swap(enabled)
311 if previous == enabled {
312 return
313 }
314 if !enabled {
315 log.Info("antigravity signature cache DISABLED - bypass mode active, cached signatures will not be used for request translation")
316 }
317}
318
319// SignatureCacheEnabled returns whether signature cache validation is enabled.
320func SignatureCacheEnabled() bool {

Calls 1

SwapMethod · 0.80