Project

General

Profile

Actions

Feature #4830

closed

Treat "no Parameters" and "zero-length Parameters" as equivalent

Added by Junxiao Shi about 5 years ago. Updated about 5 years ago.

Status:
Rejected
Priority:
Normal
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Zero-length Parameters convey no meaningful information so it should be disallowed.

Actions #1

Updated by Junxiao Shi about 5 years ago

One concern of treating "no Parameters" and "zero-length Parameters" as equivalent is: under current protocol, ParametersSha256DigestComponent is required if Parameters are present, and is forbidden if Parameters are omitted.
This leads to a conflict: if an Interest arrives at a node with "zero-length Parameters" and ParametersSha256DigestComponent, and the node decides to re-encode the Interest (e.g. during ForwardingHint modification) with "no Parameters", the node would have to strip away ParametersSha256DigestComponent. Consequently, the new Interest is semantically different from the old Interest because its Name has changed.
Suggested solution: forbid zero-length Parameters outright, so that ParametersSha256DigestComponent can appear only if the Interest has a non-empty Parameters.

Actions #2

Updated by Junxiao Shi about 5 years ago

  • Assignee set to Davide Pesavento
Actions #3

Updated by Davide Pesavento about 5 years ago

  • Status changed from New to In Progress
Actions #4

Updated by Davide Pesavento about 5 years ago

  • Status changed from In Progress to Rejected
  • Start date deleted (02/04/2019)

Today's call (Feb 04) decides that "no Parameters" and "zero-length Parameters" are NOT equivalent.

Actions

Also available in: Atom PDF