diff options
author | Julius Bünger <buenger@mytum.de> | 2019-02-25 20:36:44 +0100 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2019-02-25 20:36:44 +0100 |
commit | adbb529b74ba2cc63880c11522c09b50fef34823 (patch) | |
tree | 7536ea2eef0c2c914d4d021a28dc82bb73977339 /src/rps/gnunet-service-rps_sampler.h | |
parent | 88aa8d7bb013d1b596a3da2c7162fa55e2fc03a4 (diff) | |
download | gnunet-adbb529b74ba2cc63880c11522c09b50fef34823.tar.gz gnunet-adbb529b74ba2cc63880c11522c09b50fef34823.zip |
RPS sampler: An id might be removed while a request is still pending
Diffstat (limited to 'src/rps/gnunet-service-rps_sampler.h')
-rw-r--r-- | src/rps/gnunet-service-rps_sampler.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rps/gnunet-service-rps_sampler.h b/src/rps/gnunet-service-rps_sampler.h index 9f60aa7c9..921570f7d 100644 --- a/src/rps/gnunet-service-rps_sampler.h +++ b/src/rps/gnunet-service-rps_sampler.h | |||
@@ -90,6 +90,12 @@ RPS_sampler_update (struct RPS_Sampler *sampler, | |||
90 | * | 90 | * |
91 | * Used to get rid of a PeerID. | 91 | * Used to get rid of a PeerID. |
92 | * | 92 | * |
93 | * FIXME: This should also consider currently pending requests | ||
94 | * (Pending requests already collect peerids. As long as not all | ||
95 | * requested IDs have been collected, they are kept. | ||
96 | * Ideally, the @p id should be removed from all pending requests. This | ||
97 | * seems quite complicated.) | ||
98 | * | ||
93 | * @param sampler the sampler to reinitialise a sampler in. | 99 | * @param sampler the sampler to reinitialise a sampler in. |
94 | * @param id the id of the samplers to update. | 100 | * @param id the id of the samplers to update. |
95 | */ | 101 | */ |