Ben Noordhuis
12c8b27e24
test: fix exec-after-fork race in test/simple/test-child-process-kill.js
13 years ago
Mikeal Rogers
48dcb905f6
Update tests for http2.
13 years ago
Bert Belder
70bf121f21
Partial fix for test-child-process.cwd on windows
13 years ago
Ryan Dahl
2908f323e1
win: fix test-child-process-exec-cwd
13 years ago
Ryan Dahl
a44748b3d7
win2k3: fix test-child-process-env
13 years ago
Ryan Dahl
99c15e5661
child_process_uv: don't attempt to pass test-child-process-deprecated-api
13 years ago
Igor Zinkovsky
925b467a4e
fix test-child-process-env on windows
13 years ago
Ryan Dahl
1710bea355
Add a few more asserts to test/simple/test-child-process-stdin.js
13 years ago
Ryan Dahl
c48b2a98d8
windows: Fix test-module-load-list
13 years ago
Ryan Dahl
19a62589b2
child_process_uv: add exec, fix simple/test-child-process-exec-cwd
13 years ago
Ryan Dahl
7772f21b60
initial pass at lib/child_process_uv.js
13 years ago
koichik
d3d8f1b972
Add %% escape to util.format()
Fixes #1273 .
13 years ago
Ryan Dahl
f01b241057
add wrapper for uv_spawn
process.binding('process_wrap')
13 years ago
Ben Noordhuis
874260b40f
util: add sprintf-like format() function
Fixes #1407 .
13 years ago
Fedor Indutny
9010f5fbab
Add support for TLS SNI
Fixes #1411
13 years ago
isaacs
703a1ffe52
Revert "AMD compatibility for node"
This reverts commit 9967c369c9
.
Conflicts:
test/simple/test-module-loading.js
13 years ago
koichik
62aaf56d1b
Fix http.ClientRequest crashes if end() was called twice
Fixes #1417 .
Fixes #1223 .
13 years ago
koichik
8b3ba47f88
Fix http.ClientRequest crashes if end() was called twice
Fixes #1417 .
Fixes #1223 .
13 years ago
Ryan Dahl
799c7bdcb6
Fix test-module-load-list for use-uv
13 years ago
Ryan Dahl
8527f00c3c
Lazy load a few modules
13 years ago
Ryan Dahl
ea9ee1fb7e
Add process.moduleLoadList for better startup transparency
13 years ago
SAWADA Tadashi
d3a84bea7b
Fix crypto encryption/decryption with Base64.
Fixes #738 .
Fixes #1205 .
14 years ago
Felix Geisendörfer
1b3ebc32d7
Fix test-net-stream.js
I broke this in 09ee293
.
13 years ago
Felix Geisendörfer
09ee29318f
Emit 'close' after all connections have closed
Fixes #1383
13 years ago
Ben Noordhuis
df3a8fcb62
cli: don't print result of --eval
Fixes #572 .
13 years ago
Alexander Uvarov
14b75a126f
Add Socket::bytesRead, Socket::bytesWritten
13 years ago
Stefan Bühler
db993956d6
Fix crypto hmac to accept binary keys + add test cases from rfc 2202 and 4231
Fixes #324 .
Fixes #1027 .
Instead of converting buffers to strings and back again to char array
directly use the buffer data in hmac_init (same as in hmac_update).
14 years ago
koichik
50e147bd03
Add an optional length argument to Buffer.write()
Fixes #243 .
Fixes #1361 .
13 years ago
Daniel Pihlström
fa829b0fd3
convert nonbuffer data to string in fs.writeFile/Sync
Fixes #657 .
14 years ago
SAWADA Tadashi
e357acc55b
Fix crypto encryption/decryption with Base64.
Fixes #738 .
Fixes #1205 .
14 years ago
Ben Noordhuis
984dc057e3
net_uv: throw if Server.prototype.close() is called twice
Follows net_legacy behaviour.
13 years ago
Ben Noordhuis
345df289eb
test: test pipe API with raw net.Stream() object
Test case for #1379 .
13 years ago
Ben Noordhuis
4b77626add
test: make test-http-unix-socket use common.PIPE
Don't unlink the socket, that's the responsibility of libuv and/or node.
13 years ago
Ben Noordhuis
725fcf5587
test: add test-net-pingpong to `make test-uv` list
13 years ago
Bert Belder
3de406cc58
Add tests for process.nextTick bugs on windows
These are supposed to pass w/ libuv, so add them to the test-uv tests.
13 years ago
Trent Mick
bbf7e8ed5e
http: fix setting ServerResponse.statusCode in writeHead
Fixes #1374 .
13 years ago
Trent Mick
a8f96d3314
http: fix setting ServerResponse.statusCode in writeHead
Fixes #1374 .
13 years ago
Yoshihiro Kikuchi
d3d776f978
test: added test/simple/test-fs-watch-file.js
13 years ago
Ben Noordhuis
0c396c05fd
test: beef up checks in test-http-unix-socket.js, add to `make test-uv`
13 years ago
isaacs
588d885e81
Close #1357 Load json files with require()
Signed off by everybody.
13 years ago
Ben Noordhuis
1b0e054737
url: throw descriptive error if url argument to parse() is not a string
Fixes #568 .
13 years ago
isaacs
ddfc6b78cc
Close #1360 url: Allow _ in hostnames.
13 years ago
isaacs
dcecfc5f1b
Close #1360 url: Allow _ in hostnames.
13 years ago
Reid Burke
973153d1cc
Properly respond to HEAD during end(body) hot path
During write(), _hasBody is checked to make sure a body
is allowed -- this is now also checked during end(body)
when write() isn't used.
Concise final chunk for HEAD req's res.end(data).
Instead of simply clearing data, check _hasBody
earlier to avoid sending cruft when chunkedEncoding
is used.
Fixes #1291 .
14 years ago
Steve Engledow
292345fe62
Improve --help message and Fix -e/--eval switch
--help should at least give some hint that node takes the -e switch
Update help message to include -e and swap eval block with module load block so argv works correctly
[steve@sane node](master)$ ./node -e 'process.argv' foo bar
[ '/home/steve/code/node/node', 'foo', 'bar' ]
:)
Add simple test for -e option.
Fixes #1311 .
14 years ago
isaacs
7f0047c2d5
Close #1348 Remove require.paths
Module.globalPaths is still set to a read-only copy of the global
include paths pulled off of the NODE_PATH environment variable.
It's important to be able to inspect this, but modifying it no longer
has any effect.
13 years ago
Ryan Dahl
f5a7de1ea7
windows: fix simple/test-executable-path
13 years ago
Elijah Insua
b722aaa8c5
Close #1303 Stream.pipe returns the destination
Squashed:
* Simple change to make Stream.pipe(destination) return the destination Stream
* Test: ensure Stream.pipe(destination) returns the destination Stream
* updated Stream.pipe() documentation to reflect that it now returns the
destination stream
14 years ago
isaacs
9b5098f509
Close #1281 Make require a public member of module
Reviewed by @felixge
13 years ago
Henry Rawas
876712a074
test-tcp-wrap dont assume port 80 priveleged'
13 years ago