summaryrefslogtreecommitdiffhomepage
path: root/test/node/double_end/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/node/double_end/app.js')
-rwxr-xr-xtest/node/double_end/app.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/node/double_end/app.js b/test/node/double_end/app.js
new file mode 100755
index 00000000..d8280917
--- /dev/null
+++ b/test/node/double_end/app.js
@@ -0,0 +1,6 @@
+#!/usr/bin/env node
+
+require('unit-http').createServer(function (req, res) {
+ res.end();
+ res.end();
+}).listen(7080);