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

Function resolveSuccess

internal/redisqueue/plugin.go:175–181  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

173}
174
175func resolveSuccess(ctx context.Context) bool {
176 status := internallogging.GetResponseStatus(ctx)
177 if status == 0 {
178 return true
179 }
180 return status < httpStatusBadRequest
181}
182
183func resolveEndpoint(ctx context.Context) string {
184 return strings.TrimSpace(internallogging.GetEndpoint(ctx))

Callers 1

HandleUsageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected