koichik
07c27e040e
tls: Fix node swallows openssl error on request
Fixes #2308 .
Fixes #2246 .
13 years ago
Ryan Dahl
18b92201be
Support addons with gyp
Initial pass.
13 years ago
James Hartig
348d8cd04a
timers: remove _idleTimeout from item in .unenroll()
Stops .active() from reactivating the timer.
Fixes #2114 .
13 years ago
jbergstroem
f9994114ab
build: remove unused cmakelist
13 years ago
Maciej Małecki
5c7532e5b3
assert: test `RegExp`'s properties when checking for equality
Previous code ignored the fact that `/a/ != /a/g`.
Test case included.
13 years ago
Pedro Teixeira
a805012d6f
assert: .deepEqual() support for RegExp objects
14 years ago
Andreas Madsen
07b1997388
Add env argument to cluster.fork
Fixes 2378
13 years ago
Nathan Rajlich
855f46677c
test: Add test case for MODULE_NOT_FOUND.
13 years ago
Avi Flax
ee0a7b928b
util: output Dates with Date.toString not Date.toUTCString
13 years ago
Felix Geisendörfer
ec51bfc995
Use common.PORT to avoid conflicts
13 years ago
Yoshihiro Kikuchi
f2f30286bf
timers: fix memory leak in setTimeout
Closing handle is leaked when setTimeout called with arguments which are
1. a callback
2. zero delay
(i.e. setTimeout(function(){}, 0); )
13 years ago
Ben Noordhuis
6df7bdd954
child_process: make .send() throw if message is undefined
JSON.stringify(undefined) returns "undefined" but JSON.parse() doesn't know how
to parse that.
13 years ago
Andreas Madsen
b084322f52
Add silent option to child_process.fork
Fixes #2354 .
13 years ago
Igor Zinkovsky
500c8f45f5
Remove platform files, and use uv platform api
13 years ago
Ben Noordhuis
cc2861ee44
crypto: don't ignore DH init errors
13 years ago
Ben Noordhuis
d29be0dfa2
test: binding twice to the same port should raise an error
13 years ago
Ben Noordhuis
d70ef199f1
crypto: fix memory leaks in PBKDF2 error path
13 years ago
Ben Noordhuis
b1b3dc62ff
fs: handle fractional or NaN ReadStream buffer size
Fixes #2320 .
13 years ago
koichik
f8c335d0ca
tls: enable rejectUnauthorized option to client
Fiexes #2247 .
13 years ago
Ben Noordhuis
fd29448be0
test: add missing copyright headers
13 years ago
Ben Noordhuis
70bc2e32af
test: new test, verify that we don't close and reuse fd 0
13 years ago
isaacs
580e67015c
Apply #2257 fix for Pipe streams as well as TTYs
13 years ago
Fedor Indutny
e609195202
[zlib] added dictionary support
13 years ago
isaacs
cf20b6bf65
Fix #2257 pause/resume semantics for stdin
This makes it so that the stdin TTY-wrap stream gets ref'ed on
.resume() and unref'ed on .pause()
The semantics of the names "pause" and "resume" are a bit weird, but the
important thing is that this corrects an API change from 0.4 -> 0.6
which made it impossible to read from stdin multiple times, without
knowing when it might end up being closed. If no one has it open, this
lets the process die naturally.
LGTM'd by @ry
13 years ago
Ryan Dahl
6f86b9cb70
Disable test-setproctitle on darwin
13 years ago
Ben Noordhuis
36815e4179
process: fix stack overflow when recursively calling process.exit()
13 years ago
Ben Noordhuis
aeb124f7f3
test: create test file in temp dir
13 years ago
Bert Belder
e84edd2593
Win: make process.cwd and chdir support non-ansi characters
Closes GH-2215
13 years ago
Ben Noordhuis
3d22dbf27b
cli: add -p switch, print result of --eval
13 years ago
Ben Noordhuis
03eb41c2ec
net: don't emit 'close' event twice
Don't allow `socket.destroy()` to run twice. The self-destruct sequence itself
is idempotent but it makes the 'close' and 'error' events fire more than once,
which may confuse listeners.
Fixes #2223 .
13 years ago
Ben Noordhuis
f44d0b9044
crypto: throw exception on unknown digest method
Fixes #2227 .
13 years ago
Nathan Rajlich
b204006105
util: ensure that the .inspect function isn't the one being executed
Fixes #2225 .
13 years ago
Ingmar Runge
260383215b
node_crypto: use EVP_Cipher*_ex methods, not 'obsolete' versions
This also fixes an issue that made blowfish's ECB mode unusable.
13 years ago
seebees
aab958b713
OutgoingMessage.prototype.write does not take Array
Changed the type checking for OutgoingMessage.prototype.write so it only accepts string and Buffer.
And test.
Fixes #2162
Fixes #2208
13 years ago
koichik
5451ba3aa8
tls: fix https with fs.openReadStream hangs
Fixes #2185 .
Fixes #2198 .
13 years ago
koichik
6392eba3f9
test: update an expired certificate
13 years ago
Bert Belder
b480cfaf34
Make the pummel test runner not crash on windows when a directory is locked
13 years ago
Author: Igor Zinkovsky
1f16a7b6e5
Enable long paths on windows
13 years ago
Bert Belder
232e8e19a1
Fix test-stdin-from-file
13 years ago
Bert Belder
236b217cd7
Fix issues with test-fs-chmod
- The test simultaneously chmods and fchmods the same file.
- On windows, it leaves behind a fixture in read-only mode,
which causes test-fs-fsync to fail.
13 years ago
Ben Noordhuis
55a8a3aad4
test: better fs.lchmod() availability check
fs.lchmod() is a BSD-ism, not a "not Windows"-ism.
13 years ago
Bert Belder
a639cf7d84
Add test for GH-2177
13 years ago
isaacs
0ba78d5f36
Close #2166 Close the fd in lchmod
13 years ago
Felix Geisendörfer
6e1e9e2fcb
Get test-http-response-no-headers.js to pass
Main fix was in 3abebf which added HTTP/0.9 support to http parser.
Changed test because HTTP 1.1 mandates keep-alive when no headers are
given.
Fixes #1711
13 years ago
Ben Noordhuis
246805d386
test: add 'response body with no headers' http test
HTTP/0.9 - fails with a parse error
HTTP/1.0 - works
HTTP/1.1 - fails with an empty response body
See #1711 .
13 years ago
Felix Geisendörfer
b3f91f15b2
Remove support for multi-source pipe()
This reverts 6c5b31bd
which had too few use cases, too much complexity,
and can be handled in user-land by using `{end: false}`.
Closes #1996
13 years ago
isaacs
e543b0e95e
zlib: Fix invalidly failing test
13 years ago
Ben Noordhuis
7defbd27ef
test: add DSA sign/verify crypto tests
13 years ago
Maciej Małecki
3f862cf179
test: `stdin` isn't closed after `resume()` and `pause()`
This works on `node v0.4.12`, but doesn't work on `node v0.6.2`
13 years ago
isaacs
975f1930b1
zlib: Fix invalidly failing test
13 years ago