Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SecureStream is hard coded into StreamEncryption #30

Closed
DangerLifter opened this issue Mar 25, 2015 · 3 comments
Closed

SecureStream is hard coded into StreamEncryption #30

DangerLifter opened this issue Mar 25, 2015 · 3 comments

Comments

@DangerLifter
Copy link

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

@cboden
Copy link
Contributor

cboden commented May 14, 2015

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.

@clue
Copy link
Contributor

clue commented Mar 14, 2016

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

@clue
Copy link
Contributor

clue commented Jan 9, 2017

Closed via #72

@clue clue closed this as completed Jan 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants