Ben Noordhuis
880219645e
tcp, udp: share sockaddr-to-object function
...
Share AddressToJS() function between tcp_wrap.cc and udp_wrap.cc.
2012-05-02 18:03:25 +02:00
isaacs
a26bee8fa1
MakeCallback: Consistent symbol usage
2012-04-17 13:14:54 -07:00
Shigeki Ohtsu
0d13142332
tcp: make getsockname() return address family as string
2012-04-16 18:00:47 +02:00
Ben Noordhuis
16fca262be
net: honor 'enable' flag in .setNoDelay()
...
Fixes #3096 .
2012-04-12 19:15:32 +02:00
Ben Noordhuis
036d907df7
tcp: root JS objects in HandleScope with Local<>
2012-03-30 21:24:01 +02:00
ssuda
249c3c165a
Avoiding unnecessary ToString() calls
...
String::Utf8Value and String::AsciiValue constructors take Handle<Value>
So no need to convert to Handle<String>
2012-03-23 01:02:59 +01:00
Ben Noordhuis
ff4a9d381d
core: use proper #include directives
2012-03-10 00:14:14 +01:00
Ben Noordhuis
0685707bc6
tcp, pipe: don't assert on uv_accept() errors
...
It's possible for a new connection to be closed in the window between the
accept() syscall and the call to uv_accept(). Deal with it and move on, don't
assert.
2012-02-15 16:45:14 +01:00
Igor Zinkovsky
c7771bc2ec
set readable/writable for pipes
2012-02-10 11:28:43 -08:00
Ben Noordhuis
cdcb1118c8
Remove stray NODE_MODULE() semi-colons.
2011-11-09 16:34:09 +01:00
Bert Belder
189dd8f803
Fix line endings and trailing whitespace
2011-11-04 16:24:34 +01:00
Ryan Dahl
60818b957c
Add missing copyright headers
2011-11-02 10:00:57 -07:00
Igor Zinkovsky
3060266ff1
windows: enable pending accepts knob
2011-11-01 14:14:52 -07:00
Ben Noordhuis
ac379b3be1
net: bring back .setNoDelay() and .setKeepAlive()
2011-10-21 18:09:23 -07:00
Ryan Dahl
6cc42927d8
Display sys_errno when UV_UNKNOWN is returned
2011-10-19 16:53:07 -07:00
Ben Noordhuis
9193062e70
tcp_wrap: add sanity check asserts
2011-10-14 15:01:26 +00:00
Ryan Dahl
899358e797
Add test-child-process-fork2 and fixes to make it work
2011-10-07 04:03:47 -07:00
Ryan Dahl
471c5701c3
uv_write2 uv_read2_start binding
2011-10-06 22:31:57 -07:00
Bert Belder
f810998871
net_uv: use sufficient buffer to read sock/peername
2011-09-09 14:59:27 +02:00
Bert Belder
e20d0c1cd0
net-uv: correctly set socket.remoteAddress and -port
...
closes #1345
2011-09-05 02:10:14 +02:00
Bert Belder
c82ab45ee6
uv_getsockname got renamed
2011-09-04 22:53:01 +02:00
Ryan Dahl
21cc4c4985
Upgrade libuv to ea4271f
...
Required adding uv_default_loop() in many places.
2011-08-31 01:53:30 -07:00
Ben Noordhuis
9cb624986c
tcp_wrap: update after libuv API change
2011-08-24 22:27:24 +02:00
Ben Noordhuis
460614125b
tcp: propagate libuv tcp accept() errors to net_uv.js
2011-08-11 00:36:58 +02:00
Peter Bright
13d6a1f67f
Basic VC++ compatibility work.
2011-08-06 03:31:29 -07:00
Ben Noordhuis
83b82f900f
wrap: upgrade pipe_wrap and tcp_wrap to new libuv API
2011-07-27 04:13:49 +02:00
Igor Zinkovsky
187fe27a6e
stdio binding + javascript to enable process.stdin.listen()
2011-07-27 03:59:33 +02:00
Ryan Dahl
6050af4fd7
net_uv: properly initialize writeQueueSize
...
Fixes simple/test-tcp-wrap-listen.js
2011-07-19 02:19:27 -07:00
Ryan Dahl
85404c5c55
Move HandleWrap rules to one place
2011-07-18 13:47:56 -07:00
Ryan Dahl
0c7bf8132e
Abstract out HandleWrap class
2011-07-18 04:22:16 -07:00
Ryan Dahl
1ae148909a
Abstract StreamWrap from TCPWrap
2011-07-18 03:08:54 -07:00
Henry Rawas
f3f3b12364
net_uv: getsockname binding
2011-07-15 16:44:13 -07:00
Henry Rawas
3a96469319
connect-timeout callbacks after close
2011-07-15 13:43:28 -07:00
Ryan Dahl
130be31cff
Upgrade libuv to 1be48f12a0
...
and bindings for new req interface
2011-07-15 13:41:44 -07:00
Ryan Dahl
7a782164b9
Upgrade libuv to f5ff8694
2011-07-14 14:29:24 -07:00
Ben Noordhuis
13a521e698
Fix off-by-one error in assertion.
...
Fixes test/simple/test-http-buffer-sanity.js
2011-07-09 03:24:51 +02:00
Ryan Dahl
0df2f74d36
Add several asserts to tcp_wrap
...
OnAlloc and OnConnection should not be occurring after uv_close was
called on the handle.
2011-07-08 15:22:40 -07:00
Henry Rawas
b6f6a1ca11
ipv6 node
2011-07-07 15:51:55 -07:00
Ryan Dahl
412e413edc
Upgrade libuv
2011-07-01 09:30:44 -07:00
Henry Rawas
47a5d93256
Fix test-net-pingpong.js on windows
2011-06-28 13:52:36 +02:00
Ryan Dahl
9696c27c45
tcp_wrap: implement shutdown
2011-06-16 16:08:17 +02:00
Ryan Dahl
ea8969787c
tcp_wrap: Don't return req object on error.
2011-06-16 16:03:04 +02:00
Ryan Dahl
97296e405c
tcp_wrap: add writeQueueSize
2011-06-16 15:49:44 +02:00
Ryan Dahl
ddc989333d
tcp_wrap: implement socket.connect()
2011-06-16 15:33:47 +02:00
Ryan Dahl
dae73dbd28
tcp_wrap: onread oncomplete parameter massage
2011-06-16 15:12:57 +02:00
Ryan Dahl
dafe32d3bf
tcp_wrap: implement write
2011-06-16 13:16:54 +02:00
Ryan Dahl
86214c9f16
tcp_wrap: Initial wrap of uv_read_start
2011-06-14 18:03:01 +02:00
Ryan Dahl
1261b17129
libuv wraps: Dispose of JS object on close()
2011-06-14 13:03:49 +02:00
Ryan Dahl
55636e5526
tcp_wrap: Remove listener deck
2011-06-14 12:47:07 +02:00
Ryan Dahl
effeeb5cf2
Bind uv_listen()
2011-06-10 18:25:27 +02:00