mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 19:08:58 +00:00
vendor: Fix kcp deadlock
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4461
This commit is contained in:
parent
9ecf9a3f48
commit
9c60bb8336
2
vendor/github.com/AudriusButkevicius/kcp-go/blacklist.go
generated
vendored
2
vendor/github.com/AudriusButkevicius/kcp-go/blacklist.go
generated
vendored
@ -42,7 +42,7 @@ func (m *blacklistMap) has(address string, conv uint32) bool {
|
||||
addr: address,
|
||||
convID: conv,
|
||||
}]
|
||||
m.mut.Lock()
|
||||
m.mut.Unlock()
|
||||
return ok && t.After(time.Now())
|
||||
}
|
||||
|
||||
|
2
vendor/manifest
vendored
2
vendor/manifest
vendored
@ -21,7 +21,7 @@
|
||||
"importpath": "github.com/AudriusButkevicius/kcp-go",
|
||||
"repository": "https://github.com/AudriusButkevicius/kcp-go",
|
||||
"vcs": "git",
|
||||
"revision": "54928af49abc3a4e5b645f42466a56cebc4a941e",
|
||||
"revision": "8ae5f528469c6ab76110f41eb7a51341b7efb946",
|
||||
"branch": "master",
|
||||
"notests": true
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user