Ryan Dahl
0e844d3bcb
tcp.Connection.prototype.write should return boolean
15 years ago
Ryan Dahl
c5b149ab1e
Add hack to get error event on socket timeout
See
http://groups.google.com/group/nodejs/browse_thread/thread/4898a1ed3b99dcf0
15 years ago
Ryan Dahl
0c1255453e
Initial Solaris support
15 years ago
Vanilla Hsu
6c5c808569
use SUN_LEN to calculate length of unix address @ FreeBSD.
15 years ago
Ryan Dahl
2ca788e6e2
Add 'drain' event to tcp.Connection
15 years ago
Ryan Dahl
e0ec0036ca
Add connection.setNoDelay() to disable Nagle algorithm.
15 years ago
Ryan
2097b9d2e5
Upgrade evcom - disable EPIPE error output.
15 years ago
Ryan
7beea2cd5f
Upgrade evcom; Add setTimeout method to node.tcp.Connection
The default timeout is 60 seconds, but it can now be changed.
evcom upgrade includes fixes to force_close.
15 years ago
Ryan
a8813fcdf5
evcom upgrade - ignore sigpipe. remove error output.
15 years ago
Ryan
ed3602dddc
Sync evcom
15 years ago
Ryan
368ea93bfe
Upgrade evcom - fix API issues.
15 years ago
Ryan
3b0408ec1c
Sync evcom after refactor; fix binding issues
15 years ago
Ryan
4253baf4ab
Sync evcom.
15 years ago
Ryan
ca0dda797a
(evcom) SOL_SOCKET got renamed in socket,stream renaming
This was breaking the build on Macintosh.
15 years ago
Ryan
738d20f6f0
(evcom) Add fix for pausing against big buffers.
discussion:
http://groups.google.com/group/nodejs/browse_thread/thread/11a920da4d0ed21d
15 years ago
Ryan
7d60998ee1
Upgrade evcom
Made API changes in evcom and had to make minor change src/net.cc to comply.
15 years ago
Ryan
0486c091e1
(evcom) Increase recv buffer from 4 bytes (!!!) to 8192
15 years ago
Ryan
396ed96b2d
Upgrade evcom - fix accepting too many connections issue
15 years ago
Ryan
0fb0af3a6c
Rename evnet to evcom.
15 years ago
Ryan
8b819d8546
Upgrade evnet.
16 years ago
Ryan
5e2a6f8c46
Upgrade evnet to fix close() bug. Add test for bug.
evnet wasn't properly closing sockets if they didn't have data to write.
16 years ago
Ryan
c5ab0d5a80
Upgrade liboi, which is now called evnet.
16 years ago
Ryan
00868b9565
upgrade liboi
16 years ago
Ryan
562db19d32
Add includes for freebsd compatibility
16 years ago
Ryan
69ab87ca53
Fix crash in oi_socket; add ready state reader to Connection objects.
16 years ago
Ryan
43531093a3
don't die on EPIPE
16 years ago
Ryan
ae7c6314ca
Various fixes to make the web server not give off so many errors.
16 years ago
Ryan
cfd61622ae
Reference counting. Network bugs.
Connections were being garbage collected while they were still in progress
since the object would leave scope. This commit adds ObjectWrap::Attach()
and ObjectWrap::Detach() to tell v8 that an object is currently on the event
loop and will be needed in the future.
Other changes to oi_socket.c and net.cc are to fix bugs encountered while
running the HTTP server.
16 years ago
Ryan
30450388d6
update oi_socket - modify node code to match
16 years ago
Ryan
90fc8d3622
Update liboi. Use EV_MULTIPLICITY=0.
This might need to be changed in the future if ev is needed in thread pools
or extension libraries. However for now it makes sense to just use a single
loop.
16 years ago
Ryan
40c0f755c9
import full versions of dependency libraries!
16 years ago