summaryrefslogtreecommitdiffhomepage
path: root/libs/lucid-http/luasrc/lucid
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2009-06-10 23:29:10 +0000
committerSteven Barth <steven@midlink.org>2009-06-10 23:29:10 +0000
commita75d30402813ad1eb5399f42c7d8996ee9b1e3dc (patch)
tree2fc12c24bcbcd803ce843f635fe36c4c2dd03192 /libs/lucid-http/luasrc/lucid
parent690927bf6bb1fa52780266b3b7884c70d465632f (diff)
Revert "libs/lucid-http: copyz() causes a Kernel oops on brcm-2.4, revert to copy() for now (#70)"
Fixed in nixio
Diffstat (limited to 'libs/lucid-http/luasrc/lucid')
-rw-r--r--libs/lucid-http/luasrc/lucid/http/server.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/libs/lucid-http/luasrc/lucid/http/server.lua b/libs/lucid-http/luasrc/lucid/http/server.lua
index 7cfd1b7032..95484a02f0 100644
--- a/libs/lucid-http/luasrc/lucid/http/server.lua
+++ b/libs/lucid-http/luasrc/lucid/http/server.lua
@@ -498,9 +498,7 @@ function Server.process(self, client, env)
if sourceout and stat then
if util.instanceof(sourceout, IOResource) then
- -- Jow: copyz() oopses on brcm-2.4, use copy() for now
- --stat, code, msg = sourceout.fd:copyz(client, sourceout.len)
- stat, code, msg = sourceout.fd:copy(client, sourceout.len)
+ stat, code, msg = sourceout.fd:copyz(client, sourceout.len)
else
stat, msg = ltn12.pump.all(sourceout, sinkout)
end