- Aug 27, 2014
-
-
Fedor Indutny authored
Reviewed-By:Trevor Norris <trevnorris@gmail.com>
-
- Aug 24, 2014
-
-
Fedor Indutny authored
Do not create `SSL` instance twice, `SSL_new` is called from `SSLBase` constructor anyway. Reviewed-By:Fedor Indutny <fedor@indutny.com>
-
- Aug 22, 2014
-
-
Jackson Tian authored
Reviewed-by:Trevor Norris <trev.norris@gmail.com>
-
- Aug 21, 2014
-
-
Chris Dickinson authored
net Sockets were calling read(0) to start reading, without checking to see if they were paused first. This would result in paused Socket objects keeping the event loop alive. Fixes #8200 Reviewed-by:Trevor Norris <trev.norris@gmail.com>
-
cjihrig authored
Fix assertion failure from poor argument parsing logic introduced in 6ea5d167. Add tests to make sure arguments are properly parsed. Fixes: 6ea5d167 "dns: always set variable family in lookup()" Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
- Aug 20, 2014
-
-
Ben Noordhuis authored
Reviewed-by:Trevor Norris <trev.norris@gmail.com>
-
Yazhong Liu authored
Reviewed-by:Trevor Norris <trev.norris@gmail.com>
-
- Aug 19, 2014
-
-
Alex Kocharin authored
Reported-by:
Jackson Tian <shyvo1987@gmail.com> Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
- Aug 17, 2014
-
-
Fedor Indutny authored
-
- Aug 14, 2014
-
-
Alexis Campailla authored
Fix a few issues in test/internet/test-dns.js: - 'hint' should be 'hints' - reverse name lookup is not guaranteed to return 'localhost' - V4MAPPED hint requires IPV6 address family Signed-off-by:Timothy J Fontaine <tjfontaine@gmail.com>
-
Julien Gilli authored
Tests in test-net-remote-address-port.js assume that client and server sockets always use IPv4. However, depending on the OS and the network interfaces setup, this is not true. This change makes the test consider that both IPv4 or IPv6 sockets are valid Fixes #8096. Signed-off-by:Timothy J Fontaine <tjfontaine@gmail.com>
-
Fedor Indutny authored
fix #7983 fix #8049 Signed-off-by:Timothy J Fontaine <tjfontaine@gmail.com>
-
Julien Gilli authored
Instead of hard-coding http service name in test-dns, retrieve it from /etc/services. This is not ideal, but it's still better than hard-coding it. Fixes #8047. Signed-off-by:Timothy J Fontaine <tjfontaine@gmail.com>
-
Julien Gilli authored
1 is actually a valid flag on SmartOS. More generally, hints flags' values are defined by the underlying native flags, and these can have different values on different systems. Using (ADDRCONFIG | V4MAPPED) + 1 ensure that the flag will be invalid, since it will always be different from ADDRCONFIG, V4MAPPED, ADDRCONFIG | V4MAPPED, 0 and any other combination of even flags. Signed-off-by:Timothy J Fontaine <tjfontaine@gmail.com>
-
- Aug 13, 2014
-
-
Cheng Zhao authored
The slot 0 and 1 had already been taken by "gin" and "blink" in Chrome, and the size of isolate's slots is 4 by default, so using 3 should hopefully make node work independently when embedded into other application. Reviewed-By:Fedor Indutny <fedor@indutny.com>
-
Trevor Norris authored
Fixes a recent change causing test-process-kill-pid.js to fail. Fixes: 931cbc17 "lib: don't use emitter.listeners(type).length" Signed-off-by:
Trevor Norris <trev.norris@gmail.com>
-
Jackson Tian authored
Reviewed-by:Trevor Norris <trev.norris@gmail.com>
-
Kyle Robinson Young authored
Reviewed-by:Trevor Norris <trev.norris@gmail.com>
-
Ezequiel Rabinovich authored
Fixes an issue that caused the first querystring to be parsed prepending a "?" in the first variable name on relative urls with no #fragment Reviewed-by:Trevor Norris <trev.norris@gmail.com>
-
Jackson Tian authored
Reviewed-by:Trevor Norris <trev.norris@gmail.com>
-
- Aug 12, 2014
-
-
Trevor Norris authored
Fix issue where output of a native prototype method would simply print [Function]. It will now print [Function: name]. Signed-off-by:Trevor Norris <trev.norris@gmail.com>
-
seishun authored
Reviewed-By:Fedor Indutny <fedor@indutny.com>
-
- Aug 11, 2014
-
-
Alexis Campailla authored
Fix https://github.com/joyent/node/issues/2341 Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
- Aug 09, 2014
-
-
cjihrig authored
Regression occurred that prevented the variable "family" from being set properly when the lookup() function's "options" parameter was passed a number instead of an object. Also included a sanity check by setting the default value of "family" to a value that will not pass verification. Fixes: e643fe4c "dns: fix GetAddrInfo assert" Reviewed-by:
Alexis Campailla <alexis@janeasystems.com> Reviewed-by:
Trevor Norris <trev.norris@gmail.com>
-
Fedor Indutny authored
Original source: http://openssl.6102.n7.nabble.com/PATCH-s-client-Fix-keypress-requirement-with-redirected-input-on-Windows-td46787.html Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
- Aug 08, 2014
-
-
Thorsten Lorenz authored
Linking CoreFoundation for OSX is needed for OSX debugging features to function properly. For instance Instruments cannot record Heap Allocations if the CoreFoundation is not linked. Reviewed-By:Fedor Indutny <fedor@indutny.com>
-
Alexis Campailla authored
Disabling the part of the test that relies on dispatching SIGHUP, because sending SIGHUP is not supported on Windows. Signed-off-by:Timothy J Fontaine <tjfontaine@gmail.com>
-
Jackson Tian authored
Signed-off-by:Timothy J Fontaine <tjfontaine@gmail.com>
-
Timothy J Fontaine authored
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 lib/module.js lib/timers.js lib/tls.js src/node_version.h
-
Julien Gilli authored
Send messages until both the parent and the child process have received at least one message. If at least one of them doesn't receive any message, the test runner will make the test timeout. Fixes #8046.
-
Maciej Małecki authored
Fixes #6361.
-
Jackson Tian authored
-
- Aug 07, 2014
-
-
Saúl Ibarra Corretgé authored
Reviewed-By:Fedor Indutny <fedor@indutny.com>
-
Alexis Campailla authored
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 is https://github.com/joyent/libuv/pull/1384 Windows and Unix return certain socket errors (i.e. EADDRINUSE) at different times: bind on Windows, and listen on Unix. In an effort to hide this difference, libuv on Windows stores such errors in the bind_error field of uv_tcp_t, to defer raising it at listen time. This worked fine except for the case in which a socket is shared in a Node cluster and a bind error occurs. A previous attempt to fix this ( https://github.com/joyent/libuv/commit/d1e6be1460f555a1f8a4063d7642696aa7238769 https://github.com/joyent/node/commit/3da36fe00e5d85414031ae812e473f16629d8645 ) was flawed becaused in an attempt to relay the error at the JS level it caused the master to start accepting connections. With this new approach, libuv itself is relaying the bind errors, providing for a uniform behavior of uv_tcp_listen. Reviewed-By:
Fedor Indutny <fedor@indutny.com>
-
Fedor Indutny authored
-
Fedor Indutny authored
-
Kevin Simper authored
-
- Aug 05, 2014
-
-
Jackson Tian authored
Reviewed-By:Fedor Indutny <fedor@indutny.com>
-
Trevor Norris authored
The method GetAddrInfo() is used by more than just dns.lookup(), and in those cases a third argument isn't passed. This caused the following check to abort: assert(args[3]->IsInt32()); Fixes: 43067864 "net: don't prefer IPv4 addresses during resolution" Signed-off-by:
Trevor Norris <trev.norris@gmail.com>
-
cjihrig authored
Currently the address resolution family defaults to IPv4. Instead remove the 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. Reviewed-by:Trevor Norris <trev.norris@gmail.com>
-