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

PHPC-487: Fix return value comparison in check_closed stream handler #135

Merged
merged 2 commits into from
Dec 2, 2015

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Nov 6, 2015

@bjori
Copy link
Contributor

bjori commented Nov 6, 2015

Can I suggest another test which actually results in the opposite, e.g. the stream being gone away?

The reporter said he got empty exception, which I'm guessing is because it wasn't true -- but we need a testcase that makes sure we get a real exception if the stream is closed and no connection is therefore available.

@jmikola
Copy link
Member Author

jmikola commented Nov 6, 2015

Can I suggest another test which actually results in the opposite, e.g. the stream being gone away?

Will get on that 👍

@bjori
Copy link
Contributor

bjori commented Nov 19, 2015

Any news on this?
This is pretty sad bug :(

The return value of the check_closed handler is true if the stream is closed.
@jmikola jmikola force-pushed the phpc-487 branch 3 times, most recently from e2e9a61 to ae96932 Compare December 2, 2015 15:00
@jmikola jmikola merged commit 8dfe8d8 into mongodb:master Dec 2, 2015
jmikola added a commit that referenced this pull request Dec 2, 2015
@jmikola jmikola deleted the phpc-487 branch December 2, 2015 15:08
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.

None yet

2 participants