Feature #3412
Updated by Junxiao Shi over 6 years ago
Currently, `SegmentFetcher::onError` signal the SegmentFetcher ErrorCallback reports general failure information such as "Segment validation fail" or "Nack Error". Only reporting general information on the failure can makes it difficult for the user of the SegmentFetcher to decide if they should re-express an Interest. For example in NLSR, if the SegmentFetcher fails due to a validation error, NLSR may wish to reattempt if the validation error was due to inability to fetch a certificate, but may not want to reattempt if the signature is invalid. It would be useful for users of the SegmentFetcher if validation error codes and Nack types were returned in addition. addition to the current information in the ErrorCallback.