Conflicts: deps/uv/src/win/util.c src/udp_wrap.cc
No. This reverts commit 3d1476a.
* fixes #2480
This reverts commit df62005.
uv_thread_self() is difficult to implement on Windows in a way where the return value is valid across threads. It's already been removed from upstream libuv.
Passing a non-buffer or non-string argument to Socket.prototype.write triggered an assert: Assertion failed: (Buffer::HasInstance(args)), function Write, file ../src/stream_wrap.cc, line 289. Fixes #2532.
* Added Docs button and `button` class. * Refactored download button style into `.button` * Applied color overrides for download/docs buttons. * Pointed docs link to latest available docs.
Change udp memory allocation scheme from uv_buf_init to slab allocation. Takes slab allocation scheme from stream_wrap.
To prevent redefinition warnings.
This is consistent with the old waf build system, and doesn't break old scripts that are expecting the value to be "darwin". Fixes #2518.
With Upgrade or CONNECT request, http.ClientRequest emits 'close' event after its socket is closed. However, after receiving a response, the socket is not under management by the request. http.ClientRequest should detach the socket before 'upgrade'/'connect' event is emitted to pass the socket to a user. After that, it should emit 'close' event immediately without waiting for closing of the socket. Fixes #2510.