Actions
Bug #1917
closedFace::removePendingInterest is not working
Start date:
08/22/2014
Due date:
% Done:
100%
Estimated time:
Description
Code snippet:
shared_ptr<DummyClientFace> face = makeDummyClientFace();
const PendingInterestId* interestId =
  face->expressInterest(Interest("/test/interest", time::seconds(10)),
                       bind(&Fixture::onData, this),
                       bind(&Fixture::onTimeout, this));
shared_ptr<Data> data = make_shared<Data>("/test/interest/replied");
data->setContent(buffer, sizeof(buffer));
KeyChain keyChain;
keyChain.sign(*data);
face->receive(*data);
face->removePendingInterest(interestId);
face->processEvents(time::milliseconds(100));
Expected: onData callback not called
Actual: onData callback called
      
      Updated by Alex Afanasyev about 11 years ago
      
    
    - Status changed from In Progress to Code review
 
      
      Updated by Alex Afanasyev about 11 years ago
      
    
    - Status changed from Code review to Closed
 
Actions