summaryrefslogtreecommitdiffstats
path: root/test/fuzzing/server/server-fuzz-append-data.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/fuzzing/server/server-fuzz-append-data.js')
-rw-r--r--test/fuzzing/server/server-fuzz-append-data.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/fuzzing/server/server-fuzz-append-data.js b/test/fuzzing/server/server-fuzz-append-data.js
new file mode 100644
index 0000000..8ef6c45
--- /dev/null
+++ b/test/fuzzing/server/server-fuzz-append-data.js
@@ -0,0 +1,7 @@
+'use strict'
+
+function appendData (socket, data) {
+ socket.end('HTTP/1.1 200 OK' + data)
+}
+
+module.exports = appendData