minio/internal/http
Klaus Post f31a00de01
fix: http stats race in traffic metering (#12956)
Traffic metering was not protected against concurrent updates.

```
WARNING: DATA RACE
Read at 0x00c02b0dace8 by goroutine 235:
  github.com/minio/minio/cmd.setHTTPStatsHandler.func1()
      d:/minio/minio/cmd/generic-handlers.go:360 +0x27d
  net/http.HandlerFunc.ServeHTTP()
...

Previous write at 0x00c02b0dace8 by goroutine 994:
  github.com/minio/minio/internal/http/stats.(*IncomingTrafficMeter).Read()
      d:/minio/minio/internal/http/stats/http-traffic-recorder.go:34 +0xd2

```
2021-08-13 07:30:03 -07:00
..
stats fix: http stats race in traffic metering (#12956) 2021-08-13 07:30:03 -07:00
close.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
dial_dnscache.go use sync map instead of local DNS cache (#12925) 2021-08-10 21:20:09 -07:00
dial_dnscache_test.go use sync map instead of local DNS cache (#12925) 2021-08-10 21:20:09 -07:00
dial_linux.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
dial_others.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
headers.go s3: Force a prefix removal using a special header (#12504) 2021-06-15 18:43:14 -07:00
listen_nix.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
listen_others.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
listener.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
listener_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
server.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00
server_test.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00