Project

General

Profile

Actions

Feature #4841

closed

Bring Strategy::beforeExpirePendingInterest back

Added by Teng Liang about 5 years ago. Updated about 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Forwarding
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Strategy::beforeExpirePendingInterest was removed in issue #4290, because it was not used in any strategy and we wanted to simplify forwarding pipelines. Although the reasoning was not convincing, the removal was done. Strategy::beforeExpirePendingInterest allows strategy to process when a pending Interest lifetime expires before satisfied. A strategy developer wanted to use this function for measurement purpose.

One way is to add a dispatch in Forwarder::onInterestFinalize to Strategy::beforeExpirePendingInterest.

Actions

Also available in: Atom PDF