Skip to content

consolidate _handshakeBuffer and _internalBuffer inside SslStream #52037

Closed
@wfurt

Description

@wfurt

related to #49346
related to #49000

both buffers are currently rented from ArrayBuufer. Aside from code duplication we need to copy leftovers when we transition from handshake to read, read to handshake during TLS 1.3 processing or during renegotiation/late cert retrieval.

using single buffer would simplify internal logic and reduce code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.Net.SecurityenhancementProduct code improvement that does NOT require public API changes/additions

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions