Skip to content

Refuse interests without key expressions for all modes #2233

@fuzzypixelz

Description

@fuzzypixelz

if options.aggregate() && res.is_none() {
tracing::warn!(
"Received Interest with aggregate=true with empty key expression. Not supported!"
);
options -= InterestOptions::AGGREGATE;
}

The above check is only applied in the router hat.

cc @DenisBiryukov91.

To reproduce

N/A

System info

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions