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