projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c7ad96
)
libs/lucid-http: copyz() causes a Kernel oops on brcm-2.4, revert to copy() for now...
author
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 10 Jun 2009 22:43:11 +0000
(22:43 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Wed, 10 Jun 2009 22:43:11 +0000
(22:43 +0000)
libs/lucid-http/luasrc/lucid/http/server.lua
patch
|
blob
|
history
diff --git
a/libs/lucid-http/luasrc/lucid/http/server.lua
b/libs/lucid-http/luasrc/lucid/http/server.lua
index 95484a02f0bdd49c834aecfef45a90f81c010c4c..7cfd1b70321087967ea9d13afa5ba8f9fb55072c 100644
(file)
--- a/
libs/lucid-http/luasrc/lucid/http/server.lua
+++ b/
libs/lucid-http/luasrc/lucid/http/server.lua
@@
-498,7
+498,9
@@
function Server.process(self, client, env)
if sourceout and stat then
if util.instanceof(sourceout, IOResource) then
- stat, code, msg = sourceout.fd:copyz(client, sourceout.len)
+ -- 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)
else
stat, msg = ltn12.pump.all(sourceout, sinkout)
end