4
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2025-07-02 10:16:18 +00:00

start of iterative dht searches

This commit is contained in:
Arceliar
2018-06-01 23:34:21 -05:00
parent dc841c550b
commit ecf7e490d7
6 changed files with 101 additions and 11 deletions

View File

@ -106,6 +106,7 @@ func (t *dht) handleReq(req *dhtReq) {
}
func (t *dht) handleRes(res *dhtRes) {
t.core.searches.handleDHTRes(res)
reqs, isIn := t.reqs[res.key]
if !isIn {
return