+function zeroes()
+ local string = require "string"
+ local http = require "luci.http"
+ local zeroes = string.rep(string.char(0), 8192)
+ local cnt = 0
+ local lim = 1024 * 1024 * 1024
+
+ http.prepare_content("application/x-many-zeroes")
+
+ while cnt < lim do
+ http.write(zeroes)
+ cnt = cnt + #zeroes
+ end
+end
+