mirror of
https://github.com/chainreactors/spray.git
synced 2025-09-15 11:40:13 +00:00
回调redirect逻辑, 只有check不会被重定向
This commit is contained in:
parent
16d90d9b30
commit
427f64f57a
@ -351,7 +351,7 @@ func (pool *Pool) Invoke(v interface{}) {
|
||||
}
|
||||
|
||||
// 手动处理重定向
|
||||
if bl.IsValid && unit.source > 3 && bl.RedirectURL != "" {
|
||||
if bl.IsValid && unit.source != CheckSource && bl.RedirectURL != "" {
|
||||
pool.wg.Add(1)
|
||||
pool.doRedirect(bl, unit.depth)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user