mirror of
https://github.com/chainreactors/spray.git
synced 2025-09-15 19:50:18 +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)
|
pool.doUpgrade(bl)
|
||||||
} else {
|
} else {
|
||||||
bl = pkg.NewBaseline(req.URI(), req.Host(), resp)
|
bl = pkg.NewBaseline(req.URI(), req.Host(), resp)
|
||||||
|
bl.ReqDepth = unit.depth
|
||||||
bl.Collect()
|
bl.Collect()
|
||||||
if bl.Status == 400 {
|
if bl.Status == 400 {
|
||||||
pool.doUpgrade(bl)
|
pool.doUpgrade(bl)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user