-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
bugSomething isn't workingSomething isn't workingenhancementImprovement of an existing featureImprovement of an existing feature
Description
Location wire/net.EndpointRegistry
Problem Replacing a connection before it timed out on the other end will trigger the race detector, even if there is no race.
Proposal For each Endpoint
, remember the time it was opened. During fullEndpoint.replace()
, if !dialed
(i.e., we have an incoming connection) and the previous endpoint is older than 5 seconds, do not perform the race check, and simply discard the old connection.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementImprovement of an existing featureImprovement of an existing feature