<div dir="ltr">Hi JeffT<div><br></div><div>In ndn-cxx, all Face::expressInterest overloads that do not have NackCallback parameter are marked as @deprecated.</div><div>Since the current logic seems working with existing applications, I think it's acceptable.</div><div><br></div><div>I have reported bugs for any application that use the deprecated overloads. In other words, every application is required to handle Nacks.</div><div>The deprecated overloads will be marked as DEPRECATED in #<a href="http://redmine.named-data.net/issues/3334">3334</a> once the bugs in existing applications are resolved. Afterwards, any new attempt to use the deprecated overloads will cause a compiler warning or error.</div><div><br></div><div>Yours, Junxiao<br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 27, 2016 at 1:31 PM, Thompson, Jeff <span dir="ltr"><<a href="mailto:jefft0@remap.ucla.edu" target="_blank">jefft0@remap.ucla.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word;color:rgb(0,0,0);font-size:14px;font-family:Calibri,sans-serif">
<div>Hello. </div>
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>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?</div>
<div><br>
</div>
<div>Thanks for any feedback,</div>
<div>- Jeff T</div></div></blockquote></div></div></div></div>