-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
problem: srcfd is broken and unneeded as we have metadata #1953
Conversation
@@ -86,8 +86,7 @@ int zmq::msg_t::init () | |||
u.vsm.flags = 0; | |||
u.vsm.size = 0; | |||
u.vsm.group[0] = '\0'; | |||
u.vsm.routing_id = 0; | |||
u.vsm.fd = retired_fd; | |||
u.vsm.routing_id = 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's trailing whitespace here and in other places below - want to fix before merge? or in a new PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will fix it, this is what happen when I'm using visual studio :-(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok I'll wait then, thanks!
@@ -137,8 +134,7 @@ int zmq::msg_t::init_external_storage(content_t* content_, void* data_, size_t s | |||
u.zclmsg.flags = 0; | |||
u.zclmsg.group[0] = '\0'; | |||
u.zclmsg.routing_id = 0; | |||
u.zclmsg.fd = retired_fd; | |||
|
|||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missed one :-)
@bluca should be good now |
Mmh OSX (or rather Clang) is not happy:
Do you have Clang available to give it a look? |
I have osx vm, checking... |
fixed #1954 |
PR solve the broken SRCFD by using metadata to store the file descriptor.
However as we now have metadata which include the peer address we don't need the SRCFD, therefore marked SRCFD as deprecated. If someone need more metadata I suggest adding it instead of using the SRCFD.
Fixes #1950