Skip to content

no API to surface buffered record fragments #5863

Description

@jmayclin

Problem:

There is no way to determine if s2n-tls has ingested a record fragment. This makes it difficult to work with connection serialization.

Solution:

At the very least, an API to determine if there is any buffered, ciphertext data would be useful.
s2n_peek returns the available plaintext to be read.
s2n_buffered_peek has very complicated behavior, but basically doesn't solve this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions