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

issue with dependency cppnanomsg #1

Closed
sburke56 opened this issue Jul 8, 2016 · 5 comments
Closed

issue with dependency cppnanomsg #1

sburke56 opened this issue Jul 8, 2016 · 5 comments

Comments

@sburke56
Copy link

sburke56 commented Jul 8, 2016

A while ago you posted an issue to the cppnanomsg package that is a c++ bindings package for nanomsg. It looks like that was around the time of creating this proof of concept. Do you know how this was resolved since the line of code that you reference as being the problem is gone in the proof of concept.

I'm looking at using this proof of concept so I'm trying to determine if I'm going to have issues going forward or not.

Hi:
I am trying to make a proof-of-concept RPC with nanomsg and google protobuf.
The shutdown always gives EINVAL, what am I doing wrong ?

@sroycode
Copy link
Owner

sroycode commented Jul 9, 2016

I ended up switching back to zeromq ... in my view nanomsg is nowhere near production ready even now

@sroycode sroycode closed this as completed Jul 9, 2016
@sburke56
Copy link
Author

sburke56 commented Jul 9, 2016

Ha do you remember why?

On Sat, Jul 9, 2016, 2:02 AM S R C [email protected] wrote:

Closed #1 #1.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/AANL43kSBNqfHrdAos7Am9E2BMjRExBQks5qTzl9gaJpZM4JIXvK
.

@sroycode
Copy link
Owner

sroycode commented Jul 9, 2016

The issue was with graceful closure , when I attempted to shutdown by interrupt the program would always crash ( forgot the exact error message) which was traced to a C nn_close() returning EINVAL . Since my project required graceful closure on interrupt this was a no-show.
( Just as an aside , there was a very similar bug in zeromq proxy )

@sburke56
Copy link
Author

sburke56 commented Jul 9, 2016

Thanks for the info.

On Sat, Jul 9, 2016, 3:12 AM S R C [email protected] wrote:

The issue was with graceful closure , when I attempted to shutdown by
interrupt the program would always crash ( forgot the exact error message)
which was traced to a C nn_close() returning EINVAL . Since my project
required graceful closure on interrupt this was a no-show.
( Just as an aside , there was a very similar bug in zeromq proxy )


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#1 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/AANL41WZfTEieWVvWtICy5QkNY0RhJmKks5qT0nZgaJpZM4JIXvK
.

@kuncao
Copy link

kuncao commented Nov 14, 2016

@sroycode @sburke56
I reproduced the issue
the detail is in
nanomsg/cppnanomsg#2

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

3 participants