Skip to content

SSL_CTX_set_default_read_buffer_len seems unreliable #2650

@bagder

Description

@bagder

Problem:

When we use:

  SSL_CTX_set_default_read_buffer_len(ssl_ctx, 0x401e * 4);

... it seems to make curl transfers unreliable - in particular in one specific test in the curl test suite. (I realize this is a weak and problematic bug report and I won't hold it against you if you decide to close it.)

But: we build curl and run the exact same tests using "vanilla" OpenSSL without getting these problems so it seems to indicate that only aws-lc has these specific problems.

In curl, we will disable the use of this function when built with aws-lc as a work-around (curl/curl#18434) but that comes with a small performance penalty.

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