-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
stream: use SO_OOBINLINE on OS X #222
Conversation
In the collaboration with Ben Noordhuis <info@bnoordhuis.nl> and Saúl Ibarra Corretgé <saghul@gmail.com>.
|
||
/* Send some OOB data */ | ||
ASSERT(0 == uv_fileno((uv_handle_t*) &client_handle, &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.
The problem triggered with more than one message, right? If so, can you please add a comment clarifying that here?
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.
Done.
LGTM. Great test case! |
|
||
ASSERT(0 == uv_stream_set_blocking((uv_stream_t*) &client_handle, 1)); | ||
|
||
do { |
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.
The problem triggered with more than one message, right? If so, can you please add a comment clarifying that here?
@bnoordhuis ahaha! :) With your help, as cited. |
LGTM. If you squash and land I can make a v1.x release. Also we'll need a backport for 0.10. |
io.js ships a newer V8 version where String::ExternalAsciiStringResource has been replaced with String::ExternalOneByteStringResource. This change makes nan compile again with V8 3.29 and up. Fixes libuv#222.
In the collaboration with Ben Noordhuis info@bnoordhuis.nl and
Saúl Ibarra Corretgé saghul@gmail.com.
@saghul please process this urgently