mirror of
https://github.com/chainreactors/spray.git
synced 2025-05-06 10:41:21 +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.Source = int(unit.source)
|
||||
bl.Source = unit.source
|
||||
bl.ReqDepth = unit.depth
|
||||
bl.Spended = time.Since(start).Milliseconds()
|
||||
switch unit.source {
|
||||
|
Loading…
x
Reference in New Issue
Block a user