Project

General

Profile

Actions

Feature #2734

closed

SegmentFetcher: asynchronous Data validation with Validator

Added by Anonymous over 9 years ago. Updated over 8 years ago.

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

100%

Estimated time:
5.00 h

Description

SegmentFetcher::fetch uses a verifySegment callback which returns a Data validation result synchronously.
But verifying a Data packet may require network operations to fetch certificates.

SegmentFetcher should accept a Validator instance, and use its asynchronous validation API.

SegmentFetcher is a simple procedure that fetches one segment at a time.
To keep it simple, when validation is in progress, the next segment need not be fetched.


Related issues 3 (0 open3 closed)

Blocks NDN-CCL - Task #2543: Port SegmentFetcherClosed02/19/2015

Actions
Blocks NLSR - Task #2965: LSAs should be segmented before they are publishedClosedMuktadir Chowdhury06/26/2015

Actions
Blocks ndn-cxx - Task #3334: Deprecate Face::expressInterest non-Nack overloadsClosedZhiyi Zhang

Actions
Actions

Also available in: Atom PDF