mirror of
https://github.com/chainreactors/spray.git
synced 2025-06-22 02:40:41 +00:00
bl中的exceed显示适配read-all
This commit is contained in:
parent
b019324383
commit
2081e25f93
@ -323,10 +323,10 @@ func (pool *Pool) Invoke(v interface{}) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if bl.BodyLength > ihttp.DefaultMaxBodySize {
|
if ihttp.DefaultMaxBodySize != 0 && bl.BodyLength > ihttp.DefaultMaxBodySize {
|
||||||
bl.ExceedLength = true
|
bl.ExceedLength = true
|
||||||
}
|
}
|
||||||
bl.Source = int(unit.source)
|
bl.Source = unit.source
|
||||||
bl.ReqDepth = unit.depth
|
bl.ReqDepth = unit.depth
|
||||||
bl.Spended = time.Since(start).Milliseconds()
|
bl.Spended = time.Since(start).Milliseconds()
|
||||||
switch unit.source {
|
switch unit.source {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user