Skip to content

Commit

Permalink
chore: revert change
Browse files Browse the repository at this point in the history
  • Loading branch information
r3inbowari committed Dec 25, 2023
1 parent fc272f7 commit 4f09eaa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions speedtest/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,6 @@ func (s *Server) HTTPPing(
resp, err := s.Context.doer.Do(req)
endTime := time.Since(sTime)
if err != nil {
_, _ = io.Copy(io.Discard, resp.Body)
_ = resp.Body.Close()
failTimes++
continue
}
Expand Down

0 comments on commit 4f09eaa

Please sign in to comment.