summaryrefslogtreecommitdiff
path: root/lib/net.js
diff options
context:
space:
mode:
authorFedor Indutny <fedor.indutny@gmail.com>2013-06-13 21:47:31 +0200
committerFedor Indutny <fedor.indutny@gmail.com>2013-06-16 09:30:15 +0200
commitdc50f27d5260fcb4568be3d43b7dcc898355e748 (patch)
treedc12e484507618e5da4129a47b840a8c404a803b /lib/net.js
parentaf80e7bc6e6f33c582eb1f7d37c7f5bbe9f910f7 (diff)
downloadnodejs-dc50f27d5260fcb4568be3d43b7dcc898355e748.tar.gz
nodejs-dc50f27d5260fcb4568be3d43b7dcc898355e748.tar.bz2
nodejs-dc50f27d5260fcb4568be3d43b7dcc898355e748.zip
tls: share socket._hadError with http_client
Diffstat (limited to 'lib/net.js')
-rw-r--r--lib/net.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/net.js b/lib/net.js
index 2caf123b6..53e8bc11e 100644
--- a/lib/net.js
+++ b/lib/net.js
@@ -128,6 +128,7 @@ function Socket(options) {
if (!(this instanceof Socket)) return new Socket(options);
this._connecting = false;
+ this._hadError = false;
this._handle = null;
switch (typeof options) {