X
Merge remote-tracking branch 'upstream/v0.12'
Merge remote-tracking branch 'upstream/v0.10' into v0.12
Conflicts: ChangeLog Makefile deps/uv/ChangeLog deps/uv/build.mk deps/uv/src/unix/darwin.c deps/uv/src/unix/getaddrinfo.c deps/uv/src/version.c deps/v8/src/checks.h deps/v8/src/isolate.h lib/cluster.js...
tests: fix child-process-fork-dgram on SmartOS.
Send messages until both the parent and the child process have receivedat least one message. If at least one of them doesn't receive anymessage, the test runner will make the test timeout.
Fixes #8046.
node: Now working on v0.13.0
doc: document arguments for 'error' event on a stream
Fixes #6361.
fs: fix fs.readFileSync fd leak when get RangeError
src: handle UV_EAGAIN in TryWrite
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Cluster: fix shared handles on Windows
This is the Node side of the fix for Node's cluster module on Windows.https://github.com/joyent/node/issues/7691
The other required part ishttps://github.com/joyent/libuv/pull/1384
Windows and Unix return certain socket errors (i.e. EADDRINUSE) at...
deps: update libuv to v0.11.28
deps: update openssl to v1.0.1i
doc: clarify factory methods for net.Socket
fs: fs.readFile should not throw uncaughtException
dns: fix GetAddrInfo assert
The method GetAddrInfo() is used by more than just dns.lookup(), and inthose cases a third argument isn't passed. This caused the followingcheck to abort:
assert(args[3]->IsInt32());
Fixes: 4306786 "net: don't prefer IPv4 addresses during resolution"...
net: don't prefer IPv4 addresses during resolution
Currently the address resolution family defaults to IPv4. Instead removethe preference and instead resolve to a family suitable for the host.
Expose the getaddrinfo flags and allow them to be passed.
Add documentation about new flags....
v8: Fix compliation with GCC 4.8
Supresses a very loud warning from GCC 4.8 about unused typedefs
Original url https://codereview.chromium.org/69413002
test: fix test-net-remote-address-port
Do not use first socket in second socket's connect handler. Probably acopy/paste mistake.
Reviewed-by: Trevor Norris <trev.norris@gmail.com>
path: isAbsolute() should always return boolean
On Windows, path.isAbsolute() returns an empty string on failed cases.This forces the return value to always be boolean.
timers: fix timers with non-integer delay hanging.
When backporting f8193ab into v0.10, a regression was introduced. Timerswith non-integer timeout could trigger a infinite recursion with 100%cpu usage. This commit backports 93b0624 which fixes the regression....
process: improve process binding
test: disable 0-dgram tests on darwin
fix #8023
cluster: disconnect should not be synchronous
Callbacks in node are usually asynchronous, and should never besometimes synchronous, and sometimes asynchronous.
path: fix slice OOB in trim
Internal function trim(arr). 2nd parameter of slice() should be slice'send index (not included). Because of function normalize() (called beforetrim()), "start" is always zero so the bug for now has no effect, butits a bug waiting to happen....
test: assert cluster.disconnect is async
See joyent/node#8043, test passed on v0.11 already, but this makes thetest stronger.
stream: fix Readable.wrap objectMode falsy values
A streams1 stream will have its falsy values such as 0, false, or "" eaten by the upgrade to streams2, even when objectMode is enabled.
Include test for said cases.
Reviewed-by: isaacs <i@izs.me>Reviewed-by: Trevor Norris <trev.norris@gmail.com>
1 2 3 ... 406 Next » (1-25/10129) Per page: 25, 50, 100
Also available in: Atom