Project

General

Profile

Actions

Feature #2124

closed

Validator: make Face optional

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

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

100%

Estimated time:
2.00 h

Description

Change ValidatorConfig and ValidatorRegex so that ndn::Face is optional.

Currently, constructors of these types require Face& parameter.
They should be changed to take Face*, so that NFD can use them by passing nullptr.

Whenever the validator wants to express an Interest but the face is nullptr, it should be treated as if the Interest has been timed out.

Old constructors taking Face& shall be marked deprecated, and deleted after this release.


Related issues 1 (0 open1 closed)

Blocks NFD - Bug #2063: CommandValidator uses deprecated CommandInterestValidatorClosedJunxiao Shi10/13/2014

Actions
Actions #1

Updated by Junxiao Shi over 9 years ago

  • Blocks Bug #2063: CommandValidator uses deprecated CommandInterestValidator added
Actions #2

Updated by Yingdi Yu over 9 years ago

  • Status changed from New to Code review
  • % Done changed from 0 to 100
Actions #3

Updated by Junxiao Shi over 9 years ago

  • Status changed from Code review to Closed
Actions

Also available in: Atom PDF