Bert Belder
ed65b7b375
Simplify writeReq handling in net_uv
13 years ago
Bert Belder
fcad5e35fd
Black hole tcp reads after destroy()
13 years ago
Colton Baker
87286cc737
Fixed a lot of jslint errors.
Fixes #1831
13 years ago
Ryan Dahl
fa2eaeafda
write-only streams should not shutdown
See
https://github.com/joyent/node/issues/1726#issuecomment-2207602
13 years ago
Ryan Dahl
6326b04b07
Fix test-regress-GH-819
Problem was exposed in 12798c6
.
13 years ago
Ryan Dahl
5cb1fd2e32
net.Socket(fd) should start readable and writable
13 years ago
Ryan Dahl
caaa59c559
Wrap uv_pipe_open, implement net.Stream(fd);
Fixes simple/test-child-process-ipc on unix.
13 years ago
Bert Belder
b5db0767d5
net_uv: fix 'set is undefined' error
13 years ago
Bert Belder
e20d0c1cd0
net-uv: correctly set socket.remoteAddress and -port
closes #1345
14 years ago
Ryan Dahl
e3413f08fd
net_uv: throw when people construct net.Socket(fd)
Easier to catch compatibility errors.
14 years ago
Ryan Dahl
c4454d2efc
net_uv: Don't error on ECONNRESET
Fixes #1571 .
14 years ago
Ryan Dahl
cf2e68d960
net_uv: handle read errors
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
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