Skip to content

perf(smtp): size the DATA buffer from the declared SIZE #115

Description

@xsmyile

The SMTP session refuses a declared SIZE above the limit (552) but still starts the DATA buffer at 8 KiB and doubles it. Preallocate min(declared SIZE, max message size).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions