use fasthttp lib to read

This commit is contained in:
Chris Lu
2021-02-12 05:59:52 -08:00
parent 487e435679
commit 7d9dc3c6a2
9 changed files with 142 additions and 8 deletions

View File

@@ -293,7 +293,7 @@ func readFiles(fileIdLineChan chan string, s *stat) {
}
var bytes []byte
for _, url := range urls {
bytes, _, err = util.Get(url)
bytes, _, err = util.FastGet(url)
if err == nil {
break
}