-->
Page 1 of 1

PANIC in conn:send :(init.lua:98: need <256 payload)

PostPosted: Wed Dec 03, 2014 6:29 pm
by gerardwr
In the lhhtpd webserver I get the following PANIC error when I want to send a later set of chars with conn:send.
Code: Select allPANIC: unprotected error in call to Lua API (init.lua:98: need <256 payload)


It does not look like an error caused by lhttpd, I assume in the Lua API there's a limit of 256 chars.

Re: PANIC in conn:send :(init.lua:98: need <256 payload)

PostPosted: Wed Dec 03, 2014 11:11 pm
by zeroday
gerardwr wrote:In the lhhtpd webserver I get the following PANIC error when I want to send a later set of chars with conn:send.
Code: Select allPANIC: unprotected error in call to Lua API (init.lua:98: need <256 payload)


It does not look like an error caused by lhttpd, I assume in the Lua API there's a limit of 256 chars.


It's from API. for memory consideration.
will change to 1460 in next build.

Re: PANIC in conn:send :(init.lua:98: need <256 payload)

PostPosted: Thu Dec 04, 2014 4:51 pm
by gerardwr
zeroday wrote:It's from API. for memory consideration.
will change to 1460 in next build.


Thanks zero day, I like your fast reaction on problems and requests for help.

That's excellent support.