10000 Method report_connection_error_status is missing by prashantjois · Pull Request #801 · eventmachine/eventmachine · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Method report_connection_error_status is missing #801

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

Conversation

prashantjois
Copy link
Contributor

In Connection::error? the method EventMachine::report_connection_error_status is invoked, which does not exist in the pure ruby version, but does exist in the native C++ version. This PR provides the equivalent pure ruby version of EventMachine::report_connection_error_status

invoked. In the native (cpp) version, this method exists, but in the
pure ruby version it does not.  So when there is an undelivered message
for example, it will attempt to check the socket status and fail saying
that the report_connection_error_status does not exist.  This in turn
causes the connection to fail.  report_connection_error_status will now
return the socket status.
@sodabrew sodabrew merged commit a439d72 into eventmachine:master Sep 1, 2017
@sodabrew sodabrew added this to the v1.3.0 milestone Sep 1, 2017
@sodabrew
Copy link
Member
sodabrew commented Sep 1, 2017

Thank you! Merged!

sodabrew pushed a commit to sodabrew/eventmachine that referenced this pull request Apr 30, 2018
…or (eventmachine#801)

This method exists in the cpp version but not in the pure ruby version. When
there is an undelivered message for example, it will attempt to check the socket
status and fail saying that the method report_connection_error_status does not
exist. This is in turn causes the connection to fail. It will not return the
socket status.
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.

2 participants
0