[Nfd-dev] expressInterest when Nack received without a NackCallback

Thompson, Jeff jefft0 at remap.ucla.edu
Wed Apr 27 13:31:01 PDT 2016


Hello.

A question came up while studying network Nack support in ndn-cxx. Suppose someone has an application which calls expressInterest with only the OnData and OnTimeout callbacks. Normally, if the library doesn’t call OnData, it calls OnTimeout after the interest lifetime.

However, if the library receives a network Nack, it calls OnTimeout immediately, regardless of the interest lifetime. Could this cause confusion? I ask because it’s not deterministic whether the network will reply with a Nack or not. If the application is not set up to handle Nacks, would it be better to just let the interest time out, even if the library receives a Nack?

Thanks for any feedback,
- Jeff T

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20160427/a7637d21/attachment.html>


More information about the Nfd-dev mailing list