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
You're right. It seems this pull request, #1106, introduced a race condition. I have fixed it here: 6d4db9b
We'll probably do a new release next week when #1135 is fixed and merged.
I get a data race from time to time and the below code triggers it. Am I missing something in my
DoRequest
function to make this race-safe?The data race (
go run -race .
): race.logCode used to trigger it (localhost:80 is just an nginx responding 200 OK with a small body):
Edit: Using fasthttp 1.31 and Go 1.16.3.
The text was updated successfully, but these errors were encountered: