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
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
Ben Noordhuis
b8c8e9c113
net_uv: add listenFD shim that throws when called
14 years ago
Ryan Dahl
e3ac47771c
child_process_uv: fix test-child-process-stdin and -ipc
14 years ago
Ryan Dahl
7772f21b60
initial pass at lib/child_process_uv.js
14 years ago
Igor Zinkovsky
187fe27a6e
stdio binding + javascript to enable process.stdin.listen()
14 years ago
Felix Geisendörfer
09ee29318f
Emit 'close' after all connections have closed
Fixes #1383
14 years ago
Alexander Uvarov
14b75a126f
Add Socket::bytesRead, Socket::bytesWritten
14 years ago
Ryan Dahl
daead5f5bb
win: fix simple/test-tls-client-abort.js
14 years ago
Ryan Dahl
8eb1edc8ea
net_uv: Fix test-net-server-bind
14 years ago
Ben Noordhuis
984dc057e3
net_uv: throw if Server.prototype.close() is called twice
Follows net_legacy behaviour.
14 years ago
Ben Noordhuis
8ddb334c2a
net_uv: emit 'close' event in Server.prototype.close()
14 years ago
Ben Noordhuis
07bcdc2f51
net_uv: release uv handle in Socket.prototype.destroy()
14 years ago
Ben Noordhuis
59b04427d3
net_uv: defer handle creation to connect() or bind() time
Fixes #1379 .
14 years ago
Ben Noordhuis
37cbc355d5
net: add bindings to libuv pipe API
14 years ago
Ryan Dahl
62f7c7961d
Upgrade libuv to d4563a1
14 years ago
Ryan Dahl
061ce7b0ac
net_uv: Fix simple/test-http-expect-continue.js
14 years ago
Henry Rawas
f3f3b12364
net_uv: getsockname binding
14 years ago
Henry Rawas
3a96469319
connect-timeout callbacks after close
14 years ago
Henry Rawas
e70702c620
connect-buffer play back queued write and end
14 years ago
Henry Rawas
a13506b48f
net_uv: sockets should be writable during connection
14 years ago
Henry Rawas
8adc6b8921
net_uv: Add maxConnections support
14 years ago
Henry Rawas
92057554d5
fix socket-timeout. Also fix makefile test list name net-stream
14 years ago
Henry Rawas
fad91d16ea
test-net-reconnect needs socket connect event
14 years ago
Henry Rawas
1018e7d23f
isIP test
14 years ago
Henry Rawas
e81a89b116
fix eaddrinuse bug
14 years ago
Henry Rawas
3c52fd006e
net_uv: fix test-net-eaddrinuse.js
14 years ago
Henry Rawas
b6f6a1ca11
ipv6 node
14 years ago
Ryan Dahl
c0d3f1f485
uv: exception.code isntead of exception.errno
14 years ago
Bert Belder
3b16a89b3a
Fix net_uv.isIPv4/6 bug
14 years ago
Ryan Dahl
38f3bf6610
net_uv: add isIP
Issue #1270 : Doesn't completely pass test/simple/test-net-isip.js yet.
14 years ago
koichik
c60cdcda4e
Fix net.Socket.connect argument parsing
Fixes #1251 .
14 years ago
Ryan Dahl
69d20f5352
use_uv: Correct readyState on connecting
14 years ago
Henry Rawas
56ec4e4f3c
net_uv: fix test-net-connect-timeout.js test
14 years ago
Henry Rawas
4c480551c3
net_uv: reuse socket
14 years ago
Ryan Dahl
e38ae476ef
net_uv: Stub out setKeepAlive
14 years ago
Ryan Dahl
be1b55289f
net_uv: Fix server.listen argument parsing
14 years ago
Henry Rawas
d64e070e26
net_uv: Delay listen emit
14 years ago
Henry Rawas
47a5d93256
Fix test-net-pingpong.js on windows
14 years ago
koichik
6c121edc60
Fix mismatch createConnection and Socket.connect
net.createConnection() is wrapper for net.Socket.connect(),
but There is mismatch between them.
net.createConnection(port, [host])
net.Socket.connect(port, [host], [callback])
Fixes #1208 .
14 years ago
Ryan Dahl
d0a9e64245
net_uv: Don't add listenerCallback when null
14 years ago
Ryan Dahl
f6ce86af04
net_uv: Export Socket and Stream
14 years ago
Ryan Dahl
dc0556c8cd
net_uv: Implement end(), destroySoon()
14 years ago
Ryan Dahl
e697cfb6fc
net_uv: shim up more methods
14 years ago
Ryan Dahl
312ed83827
Support eof in net_uv
14 years ago