Skip to content

Decode() silently ignoring too large frames #41

Description

@eest

Hello,

I have been using this library to parse dnstap files via NewDecoder() and Decode(). I noticed Decode() is documented like so:

Decode silently discards data frames larger than the Decoder's configured maxSize.

Is there a reason it was designed like that? It seems to me silently ignoring things means I can not trust that I decoded all of the dnstap entries in a file. Should I check for this some other way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions