Project

General

Profile

Bug #1574

WriteHandle doesn't send interest for single insert

Added by Alex Afanasyev about 7 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
05/02/2014
Due date:
% Done:

100%

Estimated time:

Description

When running ndnputfile with -s option, no Interests arrive and app stops with error that insert command check failed with 404.

NFD, ndnputfile and repo are all run on the same machine.

ndnputfile -s is used to put data into repo. The command line may like: ndnputfile -s /example/repo/1 /example/data/1/testfile testfile

On the ndnputfile side, ndnputfile will first express command and then setInterestFilter of /example/data/1/testfile.

On the repo side, repo will first response the command and then send interest of /example/data/1/testfile

The NFD log shows that, nfd first receives interest of /example/data/1/testfile and then add nexthop of /example/data/1/testfile.

If some delay of sending interest is put, the ndnputfile works well.

So I think that the nfd cannot control these things in right order and the client cannot get information from nfd to arrange this sequence.

Also available in: Atom PDF