Ben Taber
526d852565
net: allow socket end before connect
...
Fix a bug where calling .end() on a socket without calling .connect() first
throws a TypeError:
TypeError: Cannot read property 'shutdown' of undefined
at Socket.onSocketFinish (net.js:194:20)
at Socket.EventEmitter.emit (events.js:91:17)
at Socket.Writable.end (_stream_writable.js:281:10)
at Socket.end (net.js:352:31)
Fixes #4463 .
2012-12-25 22:18:56 +01:00
..
2012-12-14 10:52:28 -08:00
2011-03-14 17:37:05 -07:00
2012-12-13 17:00:29 -08:00
2012-12-13 17:00:26 -08:00
2012-12-21 00:07:34 +00:00
2012-12-13 17:00:32 -08:00
2012-12-21 00:07:34 +00:00
2012-08-29 02:36:22 +02:00
2011-10-05 18:51:06 -07:00
2012-12-17 10:47:17 -08:00
2012-12-14 10:52:30 -08:00
2012-10-09 16:23:24 +02:00
2012-08-24 14:31:32 -07:00
2011-03-14 17:37:05 -07:00
2012-12-14 10:52:27 -08:00
2012-10-13 01:27:15 +02:00
2012-06-16 11:02:49 -07:00
2012-09-25 11:08:52 -07:00
2012-12-13 16:57:58 -08:00
2011-03-14 17:37:05 -07:00
2012-12-21 16:51:43 +00:00
2012-12-21 16:51:43 +00:00
2012-10-09 16:38:00 +02:00
2012-10-12 11:46:36 -07:00
2012-12-25 22:18:56 +01:00
2012-11-08 12:31:45 -08:00
2012-12-07 16:58:16 -08:00
2012-07-04 13:45:14 +02:00
2012-06-19 14:07:48 -07:00
2012-11-06 16:28:30 -08:00
2012-12-21 11:42:40 -08:00
2012-12-13 17:00:23 -08:00
2012-12-13 17:00:22 -08:00
2012-06-28 10:14:03 -07:00
2012-08-27 13:03:30 -07:00
2012-12-13 16:57:58 -08:00
2012-12-21 11:05:46 -08:00
2012-10-30 09:16:13 -07:00
2012-10-12 11:46:36 -07:00
2012-03-03 23:48:57 -08:00
2012-12-14 10:52:26 -08:00