Project

General

Profile

Actions

Feature #4228

closed

Face: send Nack after every InterestCallback has responded

Added by Junxiao Shi over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Base
Target version:
Start date:
08/07/2017
Due date:
% Done:

100%

Estimated time:
6.00 h

Description

Currently, if a client Face dispatches an incoming Interest to multiple InterestCallbacks, as soon as one InterestCallback responds with a Nack, the Nack is returned to NFD. At this time, it is possible for Data to be available through another InterestCallback.
Thus, the face should wait for all InterestCallbacks to respond with a Nack before sending the Nack to NFD.

The combined Nack shall have the least severe reason, similar to NFD's multicast strategy.
Given Face::put(lp::Nack) API does not indicate which InterestCallback is sending the Nack, the face needs to wait for the same number of Nacks as the number of InterestFilters matching the Interest.

Note that this behavior applies to Nack only. If any InterestCallback responds with a Data, the Data can be delivered right away.


Related issues 1 (0 open1 closed)

Blocks ndn-cxx - Feature #3979: Configure Face::expressInterest to allow forward Interest to the incoming faceClosedJunxiao Shi02/26/2017

Actions
Actions

Also available in: Atom PDF