| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
This implements the user-facing APIs that lets one run a child process
and block until it exits.
Some logic that these new functions had in common with the existing
spawn/exec/execFile implementation was refactored into separate
functions, so it could be shared.
Docs and tests are included.
|
| |\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
deps/v8/src/preparser.cc
deps/v8/src/win32-math.h
doc/api/http.markdown
src/node_buffer.h
src/node_crypto.cc
src/node_file.cc
src/node_http_parser.cc
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
References for err.signal and err.code should be error.signal and
error.code.
Fixes joyent/node#6862
|
| | |
| |
| |
| | |
`path.extname` returns only the last extension
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
The AsyncListener API has been moved into the "tracing" module in order
to keep the process object free from unnecessary clutter.
Signed-off-by: Timothy J Fontaine <tjfontaine@gmail.com>
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
Introduce `ticketKeys` server option, `session` client option,
`getSession()` and `getTLSTicket()` methods.
fix #7032
|
| | | |
|
| | | |
|
| | | |
|
| |\ \
| |/
| |
| |
| |
| | |
Conflicts:
src/node_crypto.cc
test/simple/test-crypto.js
|
| | |
| |
| |
| | |
fix #6933
|
| |\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
AUTHORS
ChangeLog
deps/uv/AUTHORS
deps/uv/ChangeLog
deps/uv/src/unix/process.c
deps/uv/src/version.c
lib/net.js
node.gyp
src/node_version.h
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Make the HMAC digest method configurable. Update crypto.pbkdf2() and
crypto.pbkdf2Sync() to take an extra, optional digest argument.
Before this commit, SHA-1 (admittedly the most common method) was used
exclusively.
Fixes #6553.
|
| | |
| |
| |
| | |
fix #6910
|
| | |
| |
| |
| | |
fix #6889
|
| | |
| |
| |
| |
| | |
As of commit 39aa894, SSLv2 support is disabled by default. Update
the documentation to reflect that.
|
| | |
| |
| |
| |
| |
| |
| | |
* Make it clear that ECDHE-RSA-AES128-SHA256 and AES128-GCM-SHA256 are
TLS v1.2 ciphers.
* Note that RC4 is under suspicion.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Before this commit, verification exceptions had err.message set to the
OpenSSL error code (e.g. 'UNABLE_TO_VERIFY_LEAF_SIGNATURE').
This commit moves the error code to err.code and replaces err.message
with a human-readable error. Example:
// before
{
message: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE'
}
// after
{
code: 'UNABLE_TO_VERIFY_LEAF_SIGNATURE',
message: 'unable to verify the first certificate'
}
UNABLE_TO_VERIFY_LEAF_SIGNATURE is a good example of why you want this:
the error code suggests that it's the last certificate that fails to
validate while it's actually the first certificate in the chain.
Going by the number of mailing list posts and StackOverflow questions,
it's a source of confusion to many people.
|
| |\ \
| |/ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
spawn stdio options can be a 'stream', but the following code
fails with "Incorrect value for stdio stream: [object Object]",
despite being a stream. The problem is the test isn't really
for a stream, its for an object with a numeric `.fd` property,
and streams do not have an fd until their async 'open' event
has occurred. This is reasonable, but was not documented.
child_process.spawn('date', [], {stdio: [
'ignore',
fs.createWriteStream('out.txt',{flags:'a'}),
'ignore']})
|
| |\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
deps/uv/ChangeLog
deps/uv/build.mk
deps/uv/src/version.c
deps/uv/test/test-ipc.c
deps/v8/src/objects.cc
src/node.cc
src/node_os.cc
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
This fixes confusion connected to comparison of ECDH
with RSA and wrong information on forward secrecy.
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
There was a flaw in the old API that has been fixed. Now the
asyncListener callback is now the "create" object property in the
callback object, and is optional.
|
| |\ \
| |/ |
|
| | |
| |
| |
| | |
Ref #2598
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
The fact that the "exit" event passes the exit code as an argument
as omitted from the documentation. This adds the explanation and
augments the example code to show that.
|
| | | |
|
| | |
| |
| |
| |
| | |
You can now query for SOA records by either passing 'SOA' to `resolve`
or by using the new `resolveSoa`
|
| | |
| |
| |
| |
| |
| | |
Add colon to event heading to ensure it matches other events.
Fixes joyent/node#5687
|
| | |
| |
| |
| |
| |
| | |
Fix simple spelling mistake in documentation.
fix #5808
|
| | |
| |
| |
| |
| |
| | |
Just a property that is always `true` for TLS sockets.
fix #6735
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The UNIX domain is also known as the LOCAL domain (AF_LOCAL), and
node/libuv implements it on Windows using named pipes. The API
documentation did not describe the naming rules for named pipes, and
also repeatedly described `listen(path)` as being UNIX, which it is not
on Windows.
Closes #6743
|
| |\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
AUTHORS
ChangeLog
deps/uv/.mailmap
deps/uv/ChangeLog
deps/uv/build.mk
deps/uv/src/unix/darwin.c
deps/uv/src/unix/udp.c
deps/uv/src/version.c
deps/uv/test/test-list.h
src/node_version.h
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
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.
|
| |\ \
| |/
| |
| |
| |
| | |
Conflicts:
lib/tls.js
src/node.js
|
| | | |
|