Files
node-v0.x-archive/lib
Ryan Dahl 4681e34c1e Fix a race condition or two in net.js
When making a TCP connection, readyState returns 'opening' while resolving
the host. However between the resolving period and the establishing a
connection period, it would return 'closed'. This fixes it.

This change also ensures that the socket is closed before the 'end' event is
emitted in the case that the socket was previously shutdown.
2010-04-12 12:38:11 -07:00
..
2010-04-11 14:48:23 -07:00
2010-03-15 14:25:06 -07:00
2010-02-16 23:55:53 -08:00
2010-04-11 14:48:23 -07:00
2010-04-12 12:38:11 -07:00
2010-02-12 01:04:14 -08:00
2010-04-11 14:48:23 -07:00
2010-03-19 21:22:11 -07:00
2010-03-19 21:22:11 -07:00