- Aug 11, 2010
-
-
Rasmus Andersson authored
- [lib/dns.js] dns.lookup takes a new optional argument "family" which should be the integer 4, 6, dns.AF_INET or dns.AF_INET6. Passing a non-false "family" argument makes c-ares explicitly look up addresses for the specified family. - [test/simple/test-c-ares.js] test explicit address family lookups
-
Ryan Dahl authored
-
Ryan Dahl authored
-
Ryan Dahl authored
-
- Aug 10, 2010
-
-
Ryan Dahl authored
-
Bert Belder authored
Regression.
-
Ryan Dahl authored
-
Rasmus Andersson authored
-
Brian authored
-
- Aug 09, 2010
- Aug 07, 2010
-
-
Trent Mick authored
-
Bert Belder authored
-
Bert Belder authored
Tests for child_process.spawn() use new API Test for deprecated child_process.spawn() API
-
Ryan Dahl authored
-
Tj Holowaychuk authored
-
Tj Holowaychuk authored
-
Tj Holowaychuk authored
This makes the console methods more "browser-like", for example: console.log("foo", "bar", "baz"); // foo bar baz but still works with formatting console.log("hey %s", "tj", "whats up"); // hey tj whats up
-
- Aug 06, 2010
-
-
cloudhead authored
-
Felix Geisendörfer authored
If the first parameter passed into console.log() is not a string, all parameters will be printed as formated by sys.inspect. This change also affects console.info and console.warn.
-
- Aug 05, 2010
-
-
Ryan Dahl authored
-
Ryan Dahl authored
-
Nick Stenning authored
This patch standardises the load order for modules. Highest priority is trying to load exactly the file the user specified, followed by native extensions, followed by registered extra extensions, etc. In full, if we require('foo') having registered '.coffee' as an alternative extension, we try and load the following files in order: foo foo.js foo.node foo.coffee foo/index.js foo/index.node foo/index.coffee -
Nick Stenning authored
This patch replaces the path.exists check for module loading with a call to fs.statSync (or fs.stat for require.async) which ensures that it's not trying to load a directory.
-
Ryan Dahl authored
-
Ryan Dahl authored
-
Ryan Dahl authored
Thanks to Stepan Stolyarov for the test case.
-
Samuel Shull authored
-
Ryan Dahl authored
-
isaacs authored
-
- Aug 04, 2010
-
-
isaacs authored
Many programs do not handle non-blocking stdio very well. In particular, man and less have serious problems with this, and since stdout isn't being flushed after each write, the output jumps about on the screen as you page down. Programs that do use non-blocking stdio will set that flag themselves (as node does). This puts the stdio file descriptors into blocking mode before sharing them with the child process, so that one could spawn a vim subprocess, or some other program that depends on blocking IO.
-
Ryan Dahl authored
-
- Aug 03, 2010
-
-
Ben Noordhuis authored
-
- Aug 02, 2010
-
-
Ryan Dahl authored
Add one duplicate test from V8, just to make sure it works.
-
Mikeal Rogers authored
Send the 'Connection: keep-alive' header in your request to enable.
-
Brian authored
-
isaacs authored
Any path.join or path.normalize that starts with a / will not go "above" that after normalization. This is important because /../foo is almost *always* some sort of error, and doesn't match the corollary in sh: `cd $p; pwd` At the worse, this can be a vector for exploits, since a static file server might do path.join(docroot, path.normalize("/"+req)) to get the file. If the normalized request path could be something like "/../../../etc/passwd" then bad things could happen. -
Danny Coates authored
-