Actions
Feature #2124
closedValidator: make Face optional
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.
Updated by Junxiao Shi about 10 years ago
- Blocks Bug #2063: CommandValidator uses deprecated CommandInterestValidator added
Updated by Yingdi Yu about 10 years ago
- Status changed from New to Code review
- % Done changed from 0 to 100
Updated by Junxiao Shi about 10 years ago
- Status changed from Code review to Closed
Actions