mirror of
https://github.com/chainreactors/spray.git
synced 2026-10-29 11:50:52 +00:00
bl中的exceed显示适配read-all
This commit is contained in:
1 parent
b8a31be639
commit
074d65c09e
1 file changed
+2
-2
+2
-2
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user