libs/lucid-http: copyz() causes a Kernel oops on brcm-2.4, revert to copy() for now (#70)
This commit is contained in:
parent
8c7ad9624c
commit
0649e94571
1 changed files with 3 additions and 1 deletions
|
@ -498,7 +498,9 @@ function Server.process(self, client, env)
|
||||||
|
|
||||||
if sourceout and stat then
|
if sourceout and stat then
|
||||||
if util.instanceof(sourceout, IOResource) 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
|
else
|
||||||
stat, msg = ltn12.pump.all(sourceout, sinkout)
|
stat, msg = ltn12.pump.all(sourceout, sinkout)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue