Skip to content

SecureStream is hard coded into StreamEncryption #30

Closed
@DangerLifter

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

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