- Dec 11, 2013
-
-
Fedor Indutny authored
FSEventStream may emit events that happened right before it has started. Ignore changes emitted for the directory itself, since they may come from the stale events.
-
Vladimir Kurchatkin authored
Avoid segmentation fault when `undefined` is thrown
-
Alexis Campailla authored
This was failing if the file didn't already exist. Fixes unit tests on Windows: * test\simple\test-http-curl-chunk-problem.js * test\simple\test-pipe-file-to-http.js
-
- Dec 10, 2013
-
-
Trevor Norris authored
Fixes #6664
-
- Dec 08, 2013
-
-
Ingmar Runge authored
This adds two new member functions getAuthTag and setAuthTag that are useful for AES-GCM encryption modes. Use getAuthTag after Cipheriv.final, transmit the tag along with the data and use Decipheriv.setAuthTag to have the encrypted data verified.
-
Timothy J Fontaine authored
-
- Dec 07, 2013
-
-
Timothy J Fontaine authored
Conflicts: lib/tls.js src/node.js
-
Timothy J Fontaine authored
gyp by default now tries to process gyp files in parallel by using python's multiprocessing module, but it has problems on oddball platforms. We don't have many files or complex dependency chains that would benefit from parallel processing so disable by deafult fixes #6640
-
Timothy J Fontaine authored
use `--` to specify the arguments you want to pass directly to gyp. for example: `./configure -- --no-parallel -Dsome_define=foo` fixes #6370
-
Steven Kabbes authored
The android generator for gyp currently doesn't support --generator-output - this makes embedding node.js as project dependency difficult for android projects. Note: the generated files in deps/uv should be ignored in libuv's .gitignore
-
Lalit Kapoor authored
-
Alexis Campailla authored
1. Swallow errors when sending internal NODE_HANDLE_ACK messages, so they don't crash the process. 2. Queue process.disconnect() if there are any pending queued messages. Fixes test-child-process-fork-net2.js on win.
-
Fedor Indutny authored
Fix various possible stalls of read head (i.e. try moving it after every write head update). NOTE: This is actually backported from `bud`.
-
Fedor Indutny authored
Try writing multiple chunks from NodeBIO if possible.
-
Fedor Indutny authored
Benchmark should always use the same cipher in order to be truthful.
-
Yazhong Liu authored
-
Fedor Indutny authored
fix #5255
-
- Dec 06, 2013
-
-
Fedor Indutny authored
-
Fedor Indutny authored
Wildcard server names should not match subdomains. Quote from RFC2818: ...Names may contain the wildcard character * which is considered to match any single domain name component or component fragment. E.g., *.a.com matches foo.a.com but not bar.foo.a.com. f*.com matches foo.com but not bar.com. fix #6610
-
Ben Noordhuis authored
Adds a --with-icu-path= switch to the configure script. Requires that the user checks out the copy of libicu that's bundled with chromium to a fixed directory. It's still a little rough around the edges but it works. Fixes #6371.
-
Alexis Campailla authored
child_process spawn wasn't handlig ENOENT correctly on Windows. This is half a fix for test-child-process-cwd.js. The other half is going into libuv.
-
- Dec 04, 2013
-
-
Kai Groner authored
When Decipher processes a stream using an incorrect key, the DecipherFinal() method throws an unhandled exception at the end of the stream.
-
isaacs authored
-
- Dec 03, 2013
-
-
Fedor Indutny authored
When calling `encOut` in loop, `maybeInitFinished()` may invoke `clearOut`'s loop, leading to the writing of interleaved data (encrypted and cleartext) into the one shared pool. Move `maybeInitFinished()` out of the loop and add assertion for future.
-
Yazhong Liu authored
-
Gabriel Falkenberg authored
-
Sam Roberts authored
The null signal test existed, but only tested the case where the target process existed, not when it did not exist. Also clarified that SIGUSR1 is reserved by Node.js only for receiveing, its not at all reserved when sending a signal with kill(). kill(pid, 'O_RDWR'), or any other node constant, "worked". I fixed this by also checking for 'SIG'. The same as done in the isSignal() function. Now the signal names supported by process.kill() are the same as those supported by process.on().
-
- Dec 02, 2013
-
-
Fedor Indutny authored
Conflicts: src/node_crypto.cc src/node_crypto.h
-
Fedor Indutny authored
SNI callback selects a new SSL_CTX for the connection, which doesn't have NPN callbacks set up.
-
Timothy J Fontaine authored
Conflicts: src/stream_wrap.cc
-
Timothy J Fontaine authored
Previously we were building the symbols, but the linker was garbage collecting the symbols because they weren't used. Inform the linker that we want to keep all symbols from v8 around.
-
- Nov 30, 2013
-
-
Yazhong Liu authored
-
- Nov 29, 2013
-
-
Michael Ridgway authored
-
Nikolai Vavilov authored
-
- Nov 28, 2013
-
-
Fedor Indutny authored
HTTP Parser instance was freed twice, leading to the reusal of it in several different requests simultaneously. The flow: `socketCloseListener` is firing, which calls `socket.read()` to flush any queued data, `socket.buffer` has data which emits and fires `socketOnData` in sync, this triggers a parser error which frees the parser, `socketCloseListener` resumes execution only to have the wrong parser associated with the socket. The fix is to only cache the parser after the flushing from the socket, and to assert in `socketOnData` that `socket === parser.socket` fix #6451
-
Alexis Campailla authored
-
Fedor Indutny authored
-
- Nov 27, 2013
-
-
Ben Noordhuis authored
Replace call to Number::New() with a call to Integer::NewFromUnsigned(). Profiling a Real World(TM) application with perf(1) suggests that the conversion of its argument from integer to double is disproportionally costly: over 60% of CPU cycles accountable to WriteStringImpl() are attributable to the conversion. After changing it to Integer::NewFromUnsigned(), WriteStringImpl() has dropped from the 'most costly functions' top ten altogether.
-
Timothy J Fontaine authored
-
- Nov 26, 2013
-
-
isaacs authored
-