Project

General

Profile

Actions

Bug #4732

closed

decodeControlParameters should not throw on unrecognized TLVs

Added by Davide Pesavento over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

The current behavior breaks all consumers every time the NFD management protocol adds a new field to the ControlParameters structure.

I think this regressed in commit c06427b310a07f3a96d5592bf136a070e5fea11d, that made the existing finishNestedTlvs default to skipCritical=false. That is indeed the correct v0.3 behavior for network-layer TLV elements, but the NFD management protocol is an application-layer protocol and the evolvability rules don't apply to it.

Please revert to the previous behavior of silently ignoring unknown TLVs nested in ControlParameters and ControlResponse.

Actions

Also available in: Atom PDF