Skip to content

Conversation

@clue
Copy link
Member

@clue clue commented Mar 5, 2016

Make sure any read error is handled just like write errors and results in an error event followed by closing the stream instance.

fread(): SSL: Connection reset by peer
fread(): {x} is not a valid stream resource

Fixes #18.

@WyriHaximus
Copy link
Member

LGTM :shipit:

@clue
Copy link
Member Author

clue commented Mar 15, 2016

I've just rebased this to resolve the merge conflict introduced by #39 :shipit:

cboden added a commit that referenced this pull request Mar 21, 2016
Emit error and close when reading from stream fails
@cboden cboden merged commit 061984d into reactphp:master Mar 21, 2016
@clue clue deleted the read-error branch August 1, 2016 10:04
@clue clue mentioned this pull request Sep 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants