Skip to content

Success error message on TLS stream accept failure #19245

Closed

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

Activity

  1. added a commit that references this issue on Aug 12, 2025
    2b415e4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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