diff options
author | Dimitri Staessens <dimitri.staessens@ugent.be> | 2017-08-05 12:47:54 -0600 |
---|---|---|
committer | dimitri staessens <dimitri.staessens@ugent.be> | 2017-08-05 22:07:03 +0200 |
commit | b4568842c014eb6fff2305c508b20d7ae9186d4c (patch) | |
tree | 34e18d36a6cd46194d10265c517c802eeb3b784c /src/lib/nsm.c | |
parent | 3f9fb4c957e639b96df672190c9d03eec02dce3e (diff) | |
download | ouroboros-b4568842c014eb6fff2305c508b20d7ae9186d4c.tar.gz ouroboros-b4568842c014eb6fff2305c508b20d7ae9186d4c.zip |
ipcpd: Fix finding values in DHT
The DHT lookup would stop if a node returned no new useful information
(i.e. the value for the key or unknown nodes closer to the key)
without waiting for other pending requests that could still return
useful information. Now it correctly tracks the number of outstanding
requests or returns if it doesn't get a response for KAD_T_RESP
seconds. This fixes multi-hop flow allocation over the normal.
Diffstat (limited to 'src/lib/nsm.c')
0 files changed, 0 insertions, 0 deletions