Project

General

Profile

Actions

Bug #1298

closed

Interest with implicit digest component cannot be satisfied

Added by Junxiao Shi over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Category:
Base
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
2.00 h

Description

Steps to reproduce:

  1. Send an Interest with implicit digest as its last NameComponent
  2. Producer answers with a Data that can match this Interest

Expected: OnData callback is invoked

Actual: OnData callback is not invoked


Relevant snippets:

Face::onReceiveElement {
  getEntryIndexForExpressedInterest(data->getName()); // implicit digest is not computed
}

Face::getEntryIndexForExpressedInterest {
  getInterest()->matchesName(name) // Interest may contain implicit digest and be one component longer than Data Name
}
Actions

Also available in: Atom PDF