Ben Noordhuis
4e204f37fd
net: defer DNS lookup error events to next tick
net.createConnection() creates a net.Socket object
and immediately calls net.Socket.connect() on it.
There are no event listeners registered yet so
defer the error event to the next tick.
Fixes #1202 .
14 years ago
Ben Noordhuis
fa378ee4d8
net: defer DNS lookup error events to next tick
net.createConnection() creates a net.Socket object
and immediately calls net.Socket.connect() on it.
There are no event listeners registered yet so
defer the error event to the next tick.
Fixes #1202 .
14 years ago
Ryan Dahl
3a219de586
net_uv: resume on closed net.Socket shouldn't crash
14 years ago
isaacs
ac4791393e
Fix #1497 querystring: Replace 'in' test with 'hasOwnProperty'
14 years ago
isaacs
3210809d0a
Fix #1497 querystring: Replace 'in' test with 'hasOwnProperty'
14 years ago
Ben Noordhuis
eb09b0644b
http: destroy socket on error
Needs further investigation, the test passed without `--use-uv`.
Fixes failing test:
test/simple/test-http-dns-fail.js
14 years ago
Ryan Dahl
3d4ae3ab4d
net_uv: pipes don't have getsockname
14 years ago
Ben Noordhuis
79f064f565
net: properly export remoteAddress to user land
Fixes failing test:
test/simple/test-net-remote-address-port.js
14 years ago
Ben Noordhuis
460614125b
tcp: propagate libuv tcp accept() errors to net_uv.js
14 years ago
Ryan Dahl
72c412767d
net_uv: Handle failed shutdown req
14 years ago
Ryan Dahl
4f03f1bead
net_uv: fix test/simple/test-pipe-file-to-http.js
14 years ago
Fedor Indutny
942f8b5afb
Add NPN and SNI documentation.
Fixes #1420 .
Fixes #1426 .
14 years ago
Ryan Dahl
0696e78d64
Improve assert error messages
1. actual and expected should be displayed in the same order they were given
2. long values should be truncated.
14 years ago
Ryan Dahl
2689d262ec
Make buffer.INSPECT_MAX_BYTES public for mscdex
14 years ago
Ryan Dahl
7332c4022f
Truncate Buffer.inspect at 50 bytes
14 years ago
Ryan Dahl
2126989a32
Fix test-http-upgrade-server and test-http-parser
Problem was introduced in last http-parser upgrade which fixed a long
standing bug with the upgrade event and removed several callbacks.
14 years ago
Robert Mustacchi
0df08c6a0c
Endian argument should be a boolean. Signed integers shouldn't run through checks for unsigned integers. Clean up jslint. Provide unchecked uint entry points.
14 years ago
Ben Noordhuis
f69822c70e
http2: reword confusing comment
14 years ago
koichik
d439c092c2
Improve util.format() compatibility with browser.
Fixes #1434 .
14 years ago
Mikeal Rogers
24a1f6ecc5
Fixes https host header default port handling.
14 years ago
Bert Belder
567470b136
Child processes: support windowsVerbatimArguments option
14 years ago
Ben Noordhuis
5a49522ba7
child process: don't send signal if process is already terminated
Fixes failing test test/simple/test-exec-max-buffer.js
14 years ago
Ben Noordhuis
b8c8e9c113
net_uv: add listenFD shim that throws when called
14 years ago
Ben Noordhuis
2bbb468428
child process: bind to libuv's kill process API
Fixes failing test test/simple/test-child-process-kill.js
14 years ago
Ben Noordhuis
ac722bbed6
module: strip byte order marker when loading *.js and *.json files
BOMs make V8 raise a 'SyntaxError: Unexpected token ILLEGAL' exception.
Fixes #1440 .
14 years ago
Ryan Dahl
2908f323e1
win: fix test-child-process-exec-cwd
14 years ago
Ryan Dahl
e3ac47771c
child_process_uv: fix test-child-process-stdin and -ipc
14 years ago
Ryan Dahl
9166f85285
Remove debug code
14 years ago
Ryan Dahl
b30ad11b59
child_process_uv: Handle spawn errors
14 years ago
Ryan Dahl
624dd38d89
child_process_uv: fix test/simple/test-child-process-env
14 years ago
Ryan Dahl
19a62589b2
child_process_uv: add exec, fix simple/test-child-process-exec-cwd
14 years ago
Ryan Dahl
4ac633bf21
Forgot to add child_process_uv.js
14 years ago
Ryan Dahl
7772f21b60
initial pass at lib/child_process_uv.js
14 years ago
koichik
d3d8f1b972
Add %% escape to util.format()
Fixes #1273 .
14 years ago
Ben Noordhuis
874260b40f
util: add sprintf-like format() function
Fixes #1407 .
14 years ago
Fedor Indutny
9010f5fbab
Add support for TLS SNI
Fixes #1411
14 years ago
Robert Mustacchi
de0b8d601c
jslint cleanup: path.js, readline.js, repl.js, tls.js, tty_win32.js, url.js
14 years ago
isaacs
703a1ffe52
Revert "AMD compatibility for node"
This reverts commit 9967c369c9
.
Conflicts:
test/simple/test-module-loading.js
14 years ago
koichik
bffb758243
Fix http.ClientRequest crashes if end() was called twice
Fixes #1417 .
Fixes #1223 .
14 years ago
koichik
62aaf56d1b
Fix http.ClientRequest crashes if end() was called twice
Fixes #1417 .
Fixes #1223 .
14 years ago
koichik
8b3ba47f88
Fix http.ClientRequest crashes if end() was called twice
Fixes #1417 .
Fixes #1223 .
14 years ago
Ryan Dahl
8527f00c3c
Lazy load a few modules
14 years ago
Igor Zinkovsky
187fe27a6e
stdio binding + javascript to enable process.stdin.listen()
14 years ago
Ben Noordhuis
2ed23314c3
http: make http and http2 co-exist
http2 is currently disabled pending addition of a --use-http2 switch
14 years ago
Mikeal Rogers
2b929c7f19
http: http2 implementation
14 years ago
Felix Geisendörfer
09ee29318f
Emit 'close' after all connections have closed
Fixes #1383
14 years ago
koichik
d32971a8cb
Doc improvements and change argument name.
Fixes #1318 .
14 years ago
Alexander Uvarov
14b75a126f
Add Socket::bytesRead, Socket::bytesWritten
14 years ago
isaacs
c050d0fa19
Finish removing require.paths
Fix require() completion bug in repl, and correct man output
14 years ago
koichik
50e147bd03
Add an optional length argument to Buffer.write()
Fixes #243 .
Fixes #1361 .
14 years ago