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.
Actions