取消webscan模块60s超时,减少漏报

This commit is contained in:
影舞者
2022-03-11 16:13:31 +08:00
parent 9527fcf0c7
commit d1ff89676d
2 changed files with 7 additions and 23 deletions
+1 -1
View File
@@ -591,7 +591,7 @@ func getRespBody(oResp *http.Response) ([]byte, error) {
body = append(body, buf...)
}
} else {
raw, err := ioutil.ReadAll(io.LimitReader(oResp.Body, int64(3<<20)))
raw, err := ioutil.ReadAll(oResp.Body)
if err != nil {
return nil, err
}