Add test for connection timeouts
authorRyan Dahl <ry@tinyclouds.org>
Wed, 12 Jan 2011 18:57:01 +0000 (10:57 -0800)
committerRyan Dahl <ry@tinyclouds.org>
Wed, 12 Jan 2011 18:57:03 +0000 (10:57 -0800)
commit33c33949b2965512e6e058e6e1e5c800a617d071
treed66da55b65ae48c3f0c6d033db696719d2424010
parent72589b60ada148467caa42912585316cde0ce3e8
Add test for connection timeouts

Also make socket.end() destroy connection if still trying to connect.
Previously was ignoring.
lib/net.js
test/simple/test-net-connect-timeout.js [new file with mode: 0644]