Skip to content

Emit error and close when reading from stream fails - #40

Merged
cboden merged 1 commit into
reactphp:masterfrom
clue-labs:read-error
Mar 21, 2016
Merged

Emit error and close when reading from stream fails#40
cboden merged 1 commit into
reactphp:masterfrom
clue-labs:read-error

Conversation

@clue

@clue clue commented Mar 5, 2016

Copy link
Copy Markdown
Member

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
Copy Markdown
Member

LGTM :shipit:

@clue

clue commented Mar 15, 2016

Copy link
Copy Markdown
Member Author

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