syncthing/lib/nat
Graham Miln e7dc2f9190 lib/nat: Fix clearAddresses/notify deadlock (ref #4601) (#4829)
clearAddresses write locks the struct and then calls notify. notify in turn tries to obtain a read lock on the same mutex. The result was a deadlock. This change unlocks the struct before calling notify.
2018-03-21 08:02:32 +01:00
..
debug.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
interface.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
registry.go gui, lib/config, lib/model: Support auto-accepting folders (fixes #2299) 2017-12-07 07:08:24 +00:00
service.go lib/upnp: Each service is it's own NAT device 2017-12-30 19:16:08 +00:00
structs_test.go lib/nat: Fix clearAddresses/notify deadlock (ref #4601) (#4829) 2018-03-21 08:02:32 +01:00
structs.go lib/nat: Fix clearAddresses/notify deadlock (ref #4601) (#4829) 2018-03-21 08:02:32 +01:00