Actions
Task #1758
closedAllow in-wire refreshing of nonce of Interest
Start date:
07/13/2014
Due date:
% Done:
100%
Estimated time:
Description
Nonce should be considered a volatile field in Interests and there should be a way to update Nonce field without re-generating wire format for the Interest.
One of the use cases is to use this method inside onTimeout callback. Without updating the nonce, there is a good chance that re-use of the Interest will cause it to be dropped due to duplicated nonce. The only way around right now is to re-create the wire-format, which incurs unnecessary overhead.
This interface should be used carefully, since it can have some side effects. However, given volatile nature of the Nonce, it should not be relied upon anywhere.
Actions