aboutsummaryrefslogtreecommitdiff
path: root/test/common.js
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-02-18 10:05:31 -0800
committerRyan Dahl <ry@tinyclouds.org>2011-02-18 10:40:09 -0800
commitaac5cbe0252f82542258dea7b2657d6940dfe134 (patch)
treee2e98c7b1aa1c95ebeffffc34f4d891d3a0ebb75 /test/common.js
parent9b0c7618c54797ceb9be74dcdef0cb63e07185c4 (diff)
downloadandroid-node-v8-aac5cbe0252f82542258dea7b2657d6940dfe134.tar.gz
android-node-v8-aac5cbe0252f82542258dea7b2657d6940dfe134.tar.bz2
android-node-v8-aac5cbe0252f82542258dea7b2657d6940dfe134.zip
HTTP Agent sockets should not reconnect on error
Closes GH-684.
Diffstat (limited to 'test/common.js')
-rw-r--r--test/common.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/common.js b/test/common.js
index 93a8850106..0677253864 100644
--- a/test/common.js
+++ b/test/common.js
@@ -66,3 +66,10 @@ process.on('exit', function() {
}
}
});
+
+
+// This function allows one two run an HTTP test agaist both HTTPS and
+// normal HTTP modules. This ensures they fit the same API.
+exports.httpTest = function httpTest(cb) {
+};
+