Skip to content

Bug: Caching does not work for CoAP packets without a Token. #1

@bu5hm4nn

Description

@bu5hm4nn

Expected
Packet Cache to work even if there is no Token.

What happens
Packet Cache will not hit if the Packets don't have a Token.

How to reproduce
Send the server a block2 request for a large file so that the cache will be used. Compare the cache debug output between using a Token and not using a Token.

Proposed Resolution
Maybe this can be fixed by matching the cache entry by client IP & port as well as URI when no Token is present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingupstreamBug is also present in upstream code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions