Skip to content

SecureStream is hard coded into StreamEncryption #30

Description

@DangerLifter

SecureStream is hard coded into StreamEncryption and there is no easy ability to replace it with extended class.
Reason for replacement: I need to catch and correctly proceed exception " stream_get_contents(): SSL: Connection reset by peer " in method SecureStream::handleData();
Or would be nice updte code with correct catch;

        try {
            $this->handleData($stream);
        } catch (\Exception $e) {
            $this->emit('error', array($e, $this));
        }

\React\Stream\Stream

Activity

  1. cboden commented on May 14, 2015

    @cboden
    Contributor

    Could you provide some code that triggers this error you're having? We're currently looking into issues with stream_get_contents but are having difficulty reproducing errors.

  2. clue commented on Mar 14, 2016

    @clue
    Contributor

    This issue will likely also be addressed via reactphp/stream#42 and reactphp/stream#40.

  3. clue commented on Jan 9, 2017

    @clue
    Contributor

    Closed via #72

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