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

get_peername errno #506

Closed
ghazel opened this issue Apr 4, 2014 · 2 comments
Closed

get_peername errno #506

ghazel opened this issue Apr 4, 2014 · 2 comments

Comments

@ghazel
Copy link
Contributor

ghazel commented Apr 4, 2014

One time, get_peername returned nil (called from post_init). It was terrible. Were this C, I would just check the errno, but eventmachine only returns an unhelpful nil.

How do I get at the real error?

@ghazel
Copy link
Contributor Author

ghazel commented Apr 4, 2014

Worse yet, I caught the nil, called close_connection, and receive_line was still called before the connection was unbound! Maybe material for a different bug.

@zhuangbiaowei
Copy link

This error, I have encountered.

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

No branches or pull requests

2 participants