golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
123.17k stars 17.57k forks source link

x/net/proxy: RegisterDialerType is not go routine safe #15897

Open ghost opened 8 years ago

ghost commented 8 years ago

It is not safe to call proxy.RegisterDialerType from multiple go routines, due to the concurrent map writes.

Similar to #9847.

gopherbot commented 7 years ago

Change https://golang.org/cl/66751 mentions this issue: proxy: make RegisterDialerType safe for concurrent use