Skip to content

Success error message on TLS stream accept failure #19245

@bukka

Description

@bukka

Description

This happens when the accept fails during enabling crypto. The following warning is shown:

PHP Warning:  stream_socket_accept(): Accept failed: Success

This might be quite confusing and it is actually due to logic bug. The error message is just propagated from from the network accept call which is successful but it's not overwritten when when enabling crypto fails.

PHP Version

PHP 8.3+

Operating System

No response

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