You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When build with - race flag, data race warning occurs upon sending http request:
WARNING: DATA RACE
Read at 0x00c000a201b0 by goroutine 56:
vendor/github.com/aws/aws-xray-sdk-go/xray.(*HTTPSubsegments).GotFirstResponseByte()
vendor/github.com/aws/aws-xray-sdk-go/xray/httptrace.go:159 +0x47
privacyapi/vendor/github.com/aws/aws-xray-sdk-go/xray.NewClientTrace.func10()
vendor/github.com/aws/aws-xray-sdk-go/xray/httptrace.go:212 +0x41
net/http.http2traceFirstResponseByte()
/usr/local/go/src/net/http/h2_bundle.go:3035 +0x7d
net/http.(*http2clientConnReadLoop).processHeaders()
/usr/local/go/src/net/http/h2_bundle.go:8360 +0x52a
net/http.(*http2clientConnReadLoop).run()
/usr/local/go/src/net/http/h2_bundle.go:8292 +0x87d
net/http.(*http2ClientConn).readLoop()
/usr/local/go/src/net/http/h2_bundle.go:8189 +0x8c
Previous write at 0x00c000a201b0 by main goroutine:
vendor/github.com/aws/aws-xray-sdk-go/xray.(*HTTPSubsegments).WroteRequest()
vendor/github.com/aws/aws-xray-sdk-go/xray/httptrace.go:152 +0x156
vendor/github.com/aws/aws-xray-sdk-go/xray.NewClientTrace.func9()
vendor/github.com/aws/aws-xray-sdk-go/xray/httptrace.go:209 +0x55
net/http.http2traceWroteRequest()
The text was updated successfully, but these errors were encountered:
Reproduced on:
When build with - race flag, data race warning occurs upon sending http request:
WARNING: DATA RACE
Read at 0x00c000a201b0 by goroutine 56:
vendor/github.com/aws/aws-xray-sdk-go/xray.(*HTTPSubsegments).GotFirstResponseByte()
vendor/github.com/aws/aws-xray-sdk-go/xray/httptrace.go:159 +0x47
privacyapi/vendor/github.com/aws/aws-xray-sdk-go/xray.NewClientTrace.func10()
vendor/github.com/aws/aws-xray-sdk-go/xray/httptrace.go:212 +0x41
net/http.http2traceFirstResponseByte()
/usr/local/go/src/net/http/h2_bundle.go:3035 +0x7d
net/http.(*http2clientConnReadLoop).processHeaders()
/usr/local/go/src/net/http/h2_bundle.go:8360 +0x52a
net/http.(*http2clientConnReadLoop).run()
/usr/local/go/src/net/http/h2_bundle.go:8292 +0x87d
net/http.(*http2ClientConn).readLoop()
/usr/local/go/src/net/http/h2_bundle.go:8189 +0x8c
Previous write at 0x00c000a201b0 by main goroutine:
vendor/github.com/aws/aws-xray-sdk-go/xray.(*HTTPSubsegments).WroteRequest()
vendor/github.com/aws/aws-xray-sdk-go/xray/httptrace.go:152 +0x156
vendor/github.com/aws/aws-xray-sdk-go/xray.NewClientTrace.func9()
vendor/github.com/aws/aws-xray-sdk-go/xray/httptrace.go:209 +0x55
net/http.http2traceWroteRequest()
The text was updated successfully, but these errors were encountered: