Closed mheck136 closed 1 year ago
Due to the fact that the http server will use a new goroutine for each request, multiple goroutines access the CurrentIndex field of the FIFOResponseHandler. When running tests with the -race flag, this can lead to 'WARNING: DATA RACE' situations.
CurrentIndex
FIFOResponseHandler
Due to the fact that the http server will use a new goroutine for each request, multiple goroutines access the
CurrentIndex
field of theFIFOResponseHandler
. When running tests with the -race flag, this can lead to 'WARNING: DATA RACE' situations.