Skip to content

cURL: Support of SSL_OP_IGNORE_UNEXPECTED_EOF context option  #10215

@walkonthemarz

Description

@walkonthemarz

Description

PHP has already added the support of SSL_OP_IGNORE_UNEXPECTED_EOF in the OpenSSL extension but the cURL extension may still have the issue of cURL error 56: OpenSSL SSL_read: error:0A000126:SSL routines::unexpected eof while reading, errno 0.
Considering the enormous usage of the PHP curl extension(guzzle/guzzle), maybe add the option in the cURL extension to make the behavior consistent between curl extension and file_get_contents() function.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions