- Dec 07, 2013
-
-
Fedor Indutny authored
Benchmark should always use the same cipher in order to be truthful.
-
- 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 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
-
Ben Noordhuis authored
Add a 'serialNumber' property to the object that is returned by tls.CryptoStream#getPeerCertificate(). Contains the certificate's serial number encoded as a hex string. The format is identical to `openssl x509 -serial -in path/to/certificate`. Fixes #6583.
-
David Chan authored
Format negative zero as '-0' instead of as '0', as it does not behave identically to positive zero. ((-0).toString() still returns '0' as required by ES5 9.8.1.2). Fixes joyent/node#6548. Closes joyent/node#6550.
-
- Nov 24, 2013
-
-
Ben Noordhuis authored
Pending review of https://codereview.appspot.com/31500043/ Fixes #6576.
-
Vladimir Kurchatkin authored
context._asyncQueue shouldn't be exposed as asyncQueue, as it allows modification of queues already attached to an event. Which is not supposed to happend. Instead context._asyncQueue should be copied.
-
- Nov 23, 2013
-
-
Linus Unnebäck authored
Clarify that an 'error' event may or may not be followed by an 'exit' event and that it's not safe to make assumptions either way.
-
Jeremy Martin authored
Check that `listeners` is actually an array before trying to manipulate it because it won't be if no regular event listeners have been registered yet but there are 'removeListener' event listeners.
-
- Nov 22, 2013
-
-
Trevor Norris authored
Removing the depth counter while processing the nextTickQueue made it possible to run out of memory if in an infinite recursive loop using nextTick(). There was also an edge case where too many callbacks were pushed onto the nextTickQueue, while not actually being recursive. This is being done to prevent possible cryptic FATAL ERROR messages from popping up, and issues being posted about them.
-
- Nov 21, 2013
-
-
Timothy J Fontaine authored
-
Timothy J Fontaine authored
-
Timothy J Fontaine authored
-
Timothy J Fontaine authored
* uv: upgrade to v0.11.15 (Timothy J Fontaine) * v8: upgrade to 3.22.24.5 (Timothy J Fontaine) * buffer: remove warning when no encoding is passed (Trevor Norris) * build: make v8 use random seed for hash tables (Ben Noordhuis) * crypto: build with shared openssl without NPN (Ben Noordhuis) * crypto: update root certificates (Ben Noordhuis) * debugger: pass on v8 debug switches (Ben Noordhuis) * domain: use AsyncListener API (Trevor Norris) * fs: add recursive subdirectory support to fs.watch (Nick Simmons) * fs: make fs.watch() non-recursive by default (Ben Noordhuis) * http: cleanup freeSockets when socket destroyed (fengmk2) * http: force socket encoding to be null (isaacs) * http: make DELETE requests set `req.method` (Nathan Rajlich) * node: add AsyncListener support (Trevor Norris) * src: remove global HandleScope that hid memory leaks (Ben Noordhuis) * tls: add ECDH ciphers support (Erik Dubbelboer) * tls: do not default to 'localhost' servername (Fedor Indutny) * tls: more accurate wrapping of connecting socket (Fedor Indutny)
-
Timothy J Fontaine authored
Conflicts: lib/events.js src/udp_wrap.cc
-
isaacs authored
-
Timothy J Fontaine authored
After the uv upgrade, uv_spawn will now fail faster for certain failures like ENOENT. However, our tests and other people may be depending on that error being passed to the callback instead of a throw.
-
Timothy J Fontaine authored
-
- Nov 20, 2013
-
-
Trevor Norris authored
The TryCatch was not being checked after calling the unload asyncQueue callback in AsyncWrap::MakeCallback.
-
Ben Noordhuis authored
-
Ben Noordhuis authored
This is a cherry-pick of commit joyent/libuv@0520464.
-
- Nov 19, 2013
-
-
Fedor Indutny authored
Add NOTE section in documentation, mentioning that `randomBytes` won't block when entropy sources are drained. fix #6372
-
Fedor Indutny authored
-
Fedor Indutny authored
`Socket` no longer accepts `type` option, and also accepts `readable`, `writable` options. fix #6541
-
Fedor Indutny authored
v8's `messages.js` file's `CallSiteGetMethodName` is running through all object properties and getter to figure out method name of function that appears in stack trace. This run-through will also read `fd` property of `UDPWrap` instance's javascript object, making `UNWRAP()` fail. As a simple alternative to the test case above, one could just keep reference to the dgram handle and try accessing `handle.fd` after it has been fully closed. fix #6536
-