mirror of
https://github.com/chainreactors/spray.git
synced 2025-09-15 11:40:13 +00:00
fix doUpgrade deadlock
This commit is contained in:
parent
411f24d94d
commit
32f558f9c5
@ -141,6 +141,7 @@ func (pool *CheckPool) Invoke(v interface{}) {
|
||||
pool.doUpgrade(bl)
|
||||
} else {
|
||||
bl = pkg.NewBaseline(req.URI(), req.Host(), resp)
|
||||
bl.ReqDepth = unit.depth
|
||||
bl.Collect()
|
||||
if bl.Status == 400 {
|
||||
pool.doUpgrade(bl)
|
||||
|
Loading…
x
Reference in New Issue
Block a user